Markdown Magician 🧙
Features
Note When converting to PDF it will automatically download a suitable headless chrome binary if one is not present on your system. Everything is automated!
- Examples - Install - Help - Build - Screenshots
Convert doc.md
to doc.html
bash
marky doc.md
Convert to PDF
bash
marky doc.md --pdf
Start a local preview server with hot-reload
bash
marky doc.md --live
Enable extensions
```bash
marky doc.md --math --diagrams --highlight ```
Include local images as base64 encoded (beta)
```bash
marky doc.md --include-images local ```
Select and use a different theme with fzf
bash
marky doc.md --theme $(marky --themes | fzf)
Pipe from stdout and open compiled file
bash
cat doc.md | marky --out doc.html --open
See
--help
for more info
Install using cargo
bash
cargo install marky
``` Usage: marky [OPTIONS] [PATH]
Arguments: [PATH] Read input from file
Options:
--completion
bash
git clone https://github.com/metafates/marky.git
cd marky
cargo install --path .
Some examples...
bash
marky README.md --theme sakura # default theme
bash
marky README.md --theme air
bash
marky README.md --theme retro
See marky --themes
to show all available themes.
You can also your own themes, but it's not documented yet... 😴