-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
This plugin is working wonderfully, but seeing as you're using pandoc to convert the markdown it's a shame not to use pandoc markdown. On top of that there is the wonderful Katex library for displaying LaTeX math in HTML and pandoc has native support for this with the --katex param.
I use the following command to get some beautiful pandoc HTML out:
pandoc -f markdown test.md -o test.html --standalone -t html --katexLooking at these lines
nvim-markdown-preview/autoload/markdown.vim
Lines 24 to 36 in d7cbefc
| call jobstart([ | |
| \ 'pandoc', | |
| \ '-f', 'gfm', | |
| \ input_path, | |
| \ '-o', s:output_path, | |
| \ '--standalone', | |
| \ '-t', 'html', | |
| \ '--metadata', | |
| \ 'pagetitle='.filename, | |
| \ '--include-in-header='.l:stylesheet, | |
| \ ], | |
| \ self | |
| \ ) |
It looks like you use the GitHub formatted markdown by default. You could also set the markdown --from parameter to be an option.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels