Converts Markdown documents into themed HTML pages with support for code syntax highlighting, LaTeX and Mermaid diagrams.
Supports PDF conversion via headless chromium.
- Examples - Install - Help - Build
Convert doc.md
to doc.html
bash
marky doc.md
Convert to PDF
bash
marky doc.md --pdf
Start a live file watcher (will recompile your document on each save)
bash
marky doc.md --watch
Enable extensions ```bash
marky doc.md --math --diagrams --highlight ```
Select and use a different theme with fzf
bash
marky doc.md --theme $(marky --list-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
cargo install --path .