Pandoc Markdown

Pandoc

Pandoc Markdown - https://pandoc.org/MANUAL.html#pandocs-markdown

Compile MD to DOCX

pandoc --standalone --smart -f markdown -o docx --bibliography=A853.bib --csl=open-university-harvard.csl --reference-docx=reference.docx -o tma00.docx tma00.md

Compile MD to PDF presentation

pandoc -t beamer a853-tma03-presentation.md -o a853-tma03-presentation.pdf --bibliography=../A853.bib --csl=../.config/open-university-harvard.csl --slide-level 2 -V theme:Rochester -V colortheme:seahorse

Markdown

Headers

Level 1 Header

Level 2 Header

Level 3 Header

Level 4 Header

Level 5 Header
Level 6 Header

Blocks

Block quote

Code block

PHP code block

| Line block | Over several | lines

Lists

  • fruits
    • apples
      • macintosh
      • red delicious
    • pears
    • peaches
  • vegetables
    • broccoli
    • chard
  1. one
  2. two
  3. three
  1. Ninth
  2. Tenth
  3. Eleventh i. subone ii. subtwo iii. subthree

#. one #. two #. three

Term 1 ~ Definition 1

Term 2 ~ Definition 2a ~ Definition 2b

Tables

Right Left Center Default


12 12 12 12 123 123 123 123 1 1 1 1

Right Left Default Center
12 12 12 12
123 123 123 123
1 1 1 1

Inline formatting

This text is emphasized with underscores, and this is emphasized with asterisks.

This is strong emphasis and with underscores.

This is deleted text.

H~2~O is a liquid.

2^10^ is 1024.

Links

https://www.google.com

This is an inline link, and here's one with a title.

See the Introduction.

Footnotes

Here is a footnote reference,[^1] and another.[^longnote]

[^1]: Here is the footnote.

[^longnote]: Here's one with multiple blocks.

Subsequent paragraphs are indented to show that they belong to the previous footnote.

{ some.code }

The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.

This paragraph won't be part of the note, because it isn't indented.

Here is an inline note.^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.]