Syntax test

Posted on 2018-06-03

A quick tour of the Markdown features this site supports.

Plain text

Plain paragraph with italic, bold, and strikethrough text.



Images

Caption

Math

Inline: wi ≡ σF, i−2.

Display:

$$ \langle F \rangle_w = \sum_{i=1}^{N_f} w_i F_i $$


Tables

Pipe table:

Label Description
meanflx ⟨F⟩
wmeanflx ⟨F⟩w

Grid table with caption:

Simple grid table.
Right Left Center
12 12 12
123 123 123

Line blocks

I am the very model of a modern Major-General,
I know the kings of England, and quote the fights historical
From Marathon to Waterloo — in order categorical.

Block quotes

A block quote is just a paragraph prefixed with >.


Lists

Enumerated with #:

  1. First
  2. Second
    1. Nested with roman numerals
  1. Continued
  2. Third

Example list with labels:

  1. The first example.
  2. The second example.

See Example (2) for details.


Syntax highlighting

Haskell:

main :: IO ()
main = putStrLn "hi"

C++:

#include <iostream>
int main() { std::cout << "hi"; return 0; }

Bash:

echo "hi"

Definition lists

--smart

Automatically replace --, ---, and ... with typographic punctuation.

--mathjax

Use MathJax to typeset math in the output.


Footnotes

Pandoc supports footnotes like this1.


Comments


  1. Footnote text appears at the bottom of the document.↩︎