Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cenk1cenk2/md-printer
A markdown printer from a template. @mirror: https://gitlab.kilic.dev/utils/md-printer [push]
https://github.com/cenk1cenk2/md-printer
Last synced: about 4 hours ago
JSON representation
A markdown printer from a template. @mirror: https://gitlab.kilic.dev/utils/md-printer [push]
- Host: GitHub
- URL: https://github.com/cenk1cenk2/md-printer
- Owner: cenk1cenk2
- Created: 2021-11-14T19:09:08.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T22:26:32.000Z (7 months ago)
- Last Synced: 2024-05-02T00:01:15.826Z (7 months ago)
- Language: HTML
- Homepage:
- Size: 4.01 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# md-printer
## Description
Prints a PDF file from a Markdown document with some themes for myself.
- [md-printer](#md-printer)
- [Usage](#usage)
- [Commands](#commands)# Usage
```sh-session
$ npm install -g @cenk1cenk2/md-printer
$ md-printer COMMAND
running command...
$ md-printer (--version)
@cenk1cenk2/md-printer/1.0.0 linux-x64 node-v16.18.0
$ md-printer --help [COMMAND]
USAGE
$ md-printer COMMAND
...
```# Commands
- [`md-printer FILE [OUTPUT]`](#md-printer-file-output)
- [`md-printer help [COMMAND]`](#md-printer-help-command)## `md-printer FILE [OUTPUT]`
Generates a PDF from the given markdown file with the selected HTML template.
```
USAGE
$ md-printer [FILE] [OUTPUT] [-t ] [-T ] [-w] [-d]ARGUMENTS
FILE Markdown file to be processed.
OUTPUT Output file that will be generated. Overwrites the one define in front-matter.FLAGS
-T, --title= Overwrite document title.
-d, --dev Run with Chrome browser instead of publishing the file.
-t, --template= [default: default] HTML template for the generated PDF file.
-w, --watch Watch the changes on the given file.DESCRIPTION
Generates a PDF from the given markdown file with the selected HTML template.
```## `md-printer help [COMMAND]`
Display help for md-printer.
```
USAGE
$ md-printer help [COMMAND] [-n]ARGUMENTS
COMMAND Command to show help for.FLAGS
-n, --nested-commands Include all nested commands in the output.DESCRIPTION
Display help for md-printer.
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.17/src/commands/help.ts)_