mdconv is a markdown converter written in Go. It is able to create PDF and HTML files from Markdown without using LaTeX. Instead, mdconv uses the Blackfriday (v2) Markdown processor and go-wkhtmltopdf to convert the HTML to PDF.
make followed by sudo make install
Note: Run can also sudo make uninstall to remove the programConvert a Markdown document to HTML:
mdconv path/to/markdowndocument.md
Convert a Markdown document to PDF:
mdconv -o output.pdf path/to/markdowndocument.md
Note: The output file type is defined by the file extension of the output file
specified with -o.
| Flag | Description |
|---|---|
| -o out.ext | Specify the output file name and file type |
| -c [FILE] | Specify the path to a custom CSS style sheet |
| -overwrite | Don't include the default style sheet |
| -f [FONT] | Specify a font family (sans, serif, monospace) |
| -h, -help | Get general usage information |
| -v, -V | print currently used mdconv version |
Note: The path to the input file must be provided _after the flags are specified._
Contributions of all kinds are very welcome. See the GitHub Issue Tracker for things you might want work on.
$ claude mcp add mdconv \
-- python -m otcore.mcp_server <graph>