Creating an HTML file from markdown source using Vim and Pandoc

I have a number of documents I keep up to date. I write the text in markdown and I output to either HTML or PDF. This post documents how you can run a command in Vim such as :Pandoc -o index.html –metadata date=”01.04.2020″ -s –template yourTemplate….


This content originally appeared on Ben Frain and was authored by Ben Frain

I have a number of documents I keep up to date. I write the text in markdown and I output to either HTML or PDF. This post documents how you can run a command in Vim such as :Pandoc -o index.html --metadata date="01.04.2020" -s --template yourTemplate.html and get a HTML file generated with a given […]


This content originally appeared on Ben Frain and was authored by Ben Frain


Print Share Comment Cite Upload Translate
APA
Ben Frain | Sciencx (2023-12-04T04:20:33+00:00) » Creating an HTML file from markdown source using Vim and Pandoc. Retrieved from https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/.
MLA
" » Creating an HTML file from markdown source using Vim and Pandoc." Ben Frain | Sciencx - Wednesday April 8, 2020, https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/
HARVARD
Ben Frain | Sciencx Wednesday April 8, 2020 » Creating an HTML file from markdown source using Vim and Pandoc., viewed 2023-12-04T04:20:33+00:00,<https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/>
VANCOUVER
Ben Frain | Sciencx - » Creating an HTML file from markdown source using Vim and Pandoc. [Internet]. [Accessed 2023-12-04T04:20:33+00:00]. Available from: https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/
CHICAGO
" » Creating an HTML file from markdown source using Vim and Pandoc." Ben Frain | Sciencx - Accessed 2023-12-04T04:20:33+00:00. https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/
IEEE
" » Creating an HTML file from markdown source using Vim and Pandoc." Ben Frain | Sciencx [Online]. Available: https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/. [Accessed: 2023-12-04T04:20:33+00:00]
rf:citation
» Creating an HTML file from markdown source using Vim and Pandoc | Ben Frain | Sciencx | https://www.scien.cx/2020/04/08/creating-an-html-file-from-markdown-source-using-vim-and-pandoc/ | 2023-12-04T04:20:33+00:00
https://github.com/addpipe/simple-recorderjs-demo