6:Authors: John MacFarlane; Anonymous
13This is a set of tests for pandoc. Most of them are adapted from
14John Gruber's markdown test suite.
22Level four with *emphasis*
23~~~~~~~~~~~~~~~~~~~~~~~~~~
31Here's a regular paragraph.
33In Markdown 1.0.0 and earlier. Version
348. This line turns into a list item.
35Because a hard-wrapped line in the
36middle of a paragraph looked like a
39Here's one with a bullet.
55 This is a block quote.
58Here's another, differently indented:
60 This is a block quote.
61 It's indented with a tab.
63 Code in a block quote::
69 List in a block quote:
87 ---- (should be four hyphens)
95 this code block is indented by one tab
99 this block is indented by two tabs
101 These should not be escaped: \$ \\ \> \[ \{
105.. code-block:: python
193 Item 1. graf two. The quick brown fox jumped over the lazy dog's
228 iv. sublist with roman numerals, starting with 4
240 (6) Decimal start with 6
242 c) Lower alpha with paren
251Autonumbering with explicit start:
263 Definition 2, paragraph 1.
265 Definition 2, paragraph 2.
273 :address: 61 Main St.
274 :city: *Nowhere*, MA,
287Simple block on one line:
310 \begin{tabular}{|l|l|}\hline
311 Animal & Number \\ \hline
319This is *emphasized*. This is **strong**.
321This is code: ``>``, ``$``, ``\``, ``\$``, ``<html>``.
323This is\ :sub:`subscripted` and this is :sup:`superscripted`\ .
336AT&T has an ampersand in their name.
379Explicit: a `URL </url/>`_.
381Two anonymous links: `the first`__ and `the second`__
386Reference links: `link1`_ and `link2`_ and link1_ again.
391Here's a `link with an ampersand in the URL`_.
393Here's a link with an amersand in the link text: `AT&T </url/>`_.
395.. _link with an ampersand in the URL: http://example.com/?foo=1&bar=2
397Autolinks: http://example.com/?foo=1&bar=2 and nobody@nowhere.net.
406From "Voyage dans la Lune" by Georges Melies (1902):
412 :alt: Voyage dans la Lune
414Here is a movie |movie| icon.
416.. |movie| image:: movie.jpg
418And an |image with a link|.
420.. |image with a link| image:: movie.jpg
432 Comment block, should not appear in output
433 as defined by reStructuredText
438 Another comment block.
440 This one spans several
444 indentation is restored to the
452| But can a bee be said to be
453| or not to be an entire bee,
454| when half the bee is not a bee,
455| due to some ancient injury?
465================== =========== ==========
467================== =========== ==========
470================== =========== ==========
474================== =========== ==========
477================== =========== ==========
483+------------------+-----------+------------+
484| col 1 | col 2 | col 3 |
485+==================+===========+============+
487| r1 bis | b 2 | c 2 |
488+------------------+-----------+------------+
490+------------------+-----------+------------+
494+------------------+-----------+------------+
496| r1 bis | b 2 | c 2 |
497+------------------+-----------+------------+
499+------------------+-----------+------------+
501Spaces at ends of lines
503+------------------+-----------+------------+
505| r1 bis | b 2 | c 2 |
506+------------------+-----------+------------+
508+------------------+-----------+------------+
510Multiple blocks in a cell
512+------------------+-----------+------------+
515| r1 bis | - b 2 | c 2 |
516+------------------+-----------+------------+
529.. [1] Note with one line.
548Some inline math :math:`E=mc^2`\ . Now some
577Try changing the default role to a few different things.
579.. default-role:: math
581Doesn't Break Title Parsing
582---------------------------
584Inline math: `E=mc^2` or :math:`E=mc^2` or `E=mc^2`:math:.
585Other roles: :sup:`super`, `sub`:sub:.
594Some `of` these :sup:`words` are in `superscript`:sup:.
596Reset default-role to the default default.
600And now `some-invalid-string-3231231` is nonsense.
605And now with :html:`<b>inline</b> <span id="test">HTML</span>`.
607.. role:: haskell(code)
610And some inline haskell :haskell:`fmap id [1,2..10]`.
612.. role:: indirect(code)
614.. role:: py(indirect)
617Indirect python role :py:`[x*x for x in [1,2,3,4,5]]`.
619.. role:: different-indirect(code)
622.. role:: c(different-indirect)
624Different indirect C :c:`int x = 15;`.
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list