https://github.com/ryuapp/md2pdf
A simple CLI tool for converting markdown to PDF.
https://github.com/ryuapp/md2pdf
cli deno markdown markdown-to-pdf
Last synced: 4 months ago
JSON representation
A simple CLI tool for converting markdown to PDF.
- Host: GitHub
- URL: https://github.com/ryuapp/md2pdf
- Owner: ryuapp
- License: mit
- Created: 2024-08-14T05:18:47.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-20T17:43:03.000Z (6 months ago)
- Last Synced: 2025-03-15T08:33:44.427Z (4 months ago)
- Topics: cli, deno, markdown, markdown-to-pdf
- Language: TypeScript
- Homepage: https://jsr.io/@ryu/md2pdf
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# md2pdf
A simple CLI tool for converting markdown to PDF.
## Installation
```sh
deno install -grA jsr:@ryu/md2pdf/cli
```Note: If you want to update the CLI, please reinstall with `-f` flag.
## Command
```sh
md2pdf: A simple CLI tool for converting markdown to PDF.Usage: md2pdf [OPTION]... [FILE]...
Options:
-w, --watch Watch for file changes.
-h, --help Print help.
--stylesheet Set CSS file path used for rendering.
```## Front matter (Experimental)
We can specify CSS file used in the front matter of markdown.
```md
---
stylesheet: ./github.css
---# Hello World
```## Related
- [md-to-pdf](https://github.com/simonhaenisch/md-to-pdf) - Markdown to PDF CLI
for Node.js.