title: "Example Pandoc input file"
author: Ryan Frazier
date: June 9, 2019
mainfont: Lora
fontsize: 12pt
linkcolor: red
toc: true
geometry: "left=3cm,right=3cm,top=2cm,bottom=3cm"
---
# Header 1
This is my 1^st^ example pandoc markdown. It has [links](https://github.com) in it.
Some footnotes[^myfn].
[^myfn]: A foot note in pandoc
> And a quote
> block
> that is blocky
Created
June 7, 2019 16:03
-
-
Save pianomanfrazier/f2a6ccf471e41ffec168715dadd3b469 to your computer and use it in GitHub Desktop.
sudo apt install texlive pandoc texlive-xetex
Grab any fonts you would like to use from google fonts. I like Lora or Merriweather. For Linux put those fonts in ~/.fonts
.
pandoc --pdf-engine=xelatex input.md -o output.pdf
Or put this in your .vimrc
.
:noremap <leader>m :!pandoc --pdf-engine=xelatex %:p -o output.pdf<cr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment