marky-0.4.0 is not a library.
Marky
Converts Markdown documents into themed HTML pages with support for code syntax highlighting, LaTeX and Mermaid diagrams.
Supports PDF conversion via headless chromium.
Examples
Convert doc.md to doc.html
Convert to PDF
Start a live file watcher (will recompile your document on each save)
Enable extensions
# Or use --all to enable all
Select and use a different theme with fzf
Pipe from stdout and open compiled file
|
See
--helpfor more info
Install
Install using cargo
Help
Usage: marky [OPTIONS] [PATH]
Arguments:
[PATH] Read input from file
Options:
--completion <GENERATOR> [possible values: bash, elvish, fish, powershell, zsh]
-t, --theme <THEME> Theme to use
--string <STRING> Read input from string
-l, --list-themes List available themes
--where-config Print config path
-o, --out <OUT> Output file
--stdout Output to stdout
-H, --highlight Enable syntax highligting with highlight.js
-M, --math Enable math rendering with KaTeX
-D, --diagrams Enable UML diagrams rendering with Mermaid
-A, --all Enable all extra renderers
-w, --watch Enable file watcher
-O, --open Open output file in the default app
-p, --pdf Saves document as PDF using headless chrome
-h, --help Print help
-V, --version Print version
Build