markdown-export.nvim is a simple wrapper around Pandoc
to support exporting markdown to various file formats.
- Export to
HTML
- Export to
PDF
- Export to
DOCX
- Neovim >= 0.8.0 (built with LuaJIT)
- Pandoc
- wkhtmltopdf
With lazy.nvim:
{
"marcobuess/markdown-export.nvim",
opts = {}
}
{
stylesheet = "" -- Path to custom css stylesheet. Uses /css/styles.css by default
}
Command | Description |
---|---|
:MarkdownExport html |
Exports file as html |
:MarkdownExport pdf |
Exports file as pdf |