Live preview markdown files in the browser while editing (using pandoc
and live-server
).
This plugin makes it possible for you to use your custom pandoc
style sheets and templates.
- Override style sheet and template if either is present in the working directory
- Add command to generate html file instead of always generating it when previewing
Follow links for installation instructions:
" Start preview
:PandocPreview
:PPreview
" Stop preview
:PandocPreviewStop
:PPreviewStop
" Specify a custom style sheet for html generation
let g:pandoc_preview_css = 'path/to/style_sheet.css'
" Specify a custom template for html generation
" or the following options (implicitly points to files in '.../vim-pandoc-preview/data/templates/'):
" - 'bootstrap' (default)
let g:pandoc_preview_template = 'path/to/template.html'