Markdown
% title % author(s) (separated by semicolons) % date # H1 ## H2 ### H3 * Unordered list can use asterisks - Or minuses + Or pluses [I'm an inline-style link](https://www.google.com) [I'm an inline-style link with title](https://www.google.com "Google's Homepage") Inline-style: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1") ![caption](file.png){height=17cm} ```python s = "Python syntax highlighting" print s ``` ```bash # comment VARX = "Python syntax highlighting" echo $VARX ``` Horizontal Rule Three or more... --- Emphasis, aka italics, with *asterisks* or _underscores_. Strong emphasis, aka bold, with **asterisks** or __underscores__. Combined emphasis with **asterisks and _underscores_**. Strikethrough uses two tildes. ~~Scratch this.~~ $ inside bold markers must be escaped. **\$bold** .
To produce a custom reference.docx, first get a copy of the default reference.docx: pandoc --print-default-data-file reference.docx > custom-reference.docx. Then open custom-reference.docx in Word, modify the styles as you wish, and save the file. For best results, do not make changes to this file other than modifying the styles used by pandoc: [paragraph] Normal, Body Text, First Paragraph, Compact, Title, Subtitle, Author, Date, Abstract, Bibliography, Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Heading 7, Heading 8, Heading 9, Block Text, Footnote Text, Definition Term, Definition, Caption, Table Caption, Image Caption, Figure, Captioned Figure, TOC Heading; [character] Default Paragraph Font, Body Text Char, Verbatim Char, Footnote Reference, Hyperlink; [table] Table. pandoc --print-default-data-file reference.docx > ref.docx
Vim setup
~/.vim/filetype.vim augroup filetypedetect au BufNewFile,BufRead *.md setf markdown augroup END