From 56877f561e962891ba282779572bc76ed0f972c9 Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Mon, 8 May 2017 12:52:05 +0100 Subject: [PATCH] Added Pandoc option to README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 2a7d4fa..1923b23 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Vim Markdown Preview - [Temp File](#temp) - [Github Flavoured Markdown](#github) - [Markdown.pl](#perl) + - [Pandoc](#pandoc) - [Use xdg-open](#xdg) - [Behind the Scenes](#behind-the-scenes) @@ -152,6 +153,17 @@ Example: Use Markdown.pl to render HTML. let vim_markdown_preview_perl=1 ``` + +### The `vim_markdown_preview_pandoc` option +If you prefer to use John MacFarlane's [Pandoc](http://pandoc.org/) to render HTML, set the following flag: + +Default: `0` + +Example: Use Pandoc to render HTML. +```vim +let vim_markdown_preview_pandoc=1 +``` + ### The `vim_markdown_preview_use_xdg_open` option -- 2.45.2