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/>`_.
381Explicit with no label: `<foo>`_.
383Two anonymous links: `the first`__ and `the second`__
388Reference links: `link1`_ and `link2`_ and link1_ again.
393Another `style of reference link <link1_>`_.
395Here's a `link with an ampersand in the URL`_.
397Here's a link with an amersand in the link text: `AT&T </url/>`_.
399.. _link with an ampersand in the URL: http://example.com/?foo=1&bar=2
401Autolinks: http://example.com/?foo=1&bar=2 and nobody@nowhere.net.
410From "Voyage dans la Lune" by Georges Melies (1902):
416 :alt: Voyage dans la Lune
418Here is a movie |movie| icon.
420.. |movie| image:: movie.jpg
422And an |image with a link|.
424.. |image with a link| image:: movie.jpg
436 Comment block, should not appear in output
437 as defined by reStructuredText
442 Another comment block.
444 This one spans several
448 indentation is restored to the
456| But can a bee be said to be
457| or not to be an entire bee,
458| when half the bee is not a bee,
459| due to some ancient injury?
469================== =========== ==========
471================== =========== ==========
474================== =========== ==========
478================== =========== ==========
481================== =========== ==========
487+------------------+-----------+------------+
488| col 1 | col 2 | col 3 |
489+==================+===========+============+
491| r1 bis | b 2 | c 2 |
492+------------------+-----------+------------+
494+------------------+-----------+------------+
498+------------------+-----------+------------+
500| r1 bis | b 2 | c 2 |
501+------------------+-----------+------------+
503+------------------+-----------+------------+
505Spaces at ends of lines
507+------------------+-----------+------------+
509| r1 bis | b 2 | c 2 |
510+------------------+-----------+------------+
512+------------------+-----------+------------+
514Multiple blocks in a cell
516+------------------+-----------+------------+
519| r1 bis | - b 2 | c 2 |
520+------------------+-----------+------------+
533.. [1] Note with one line.
552Some inline math :math:`E=mc^2`\ . Now some
581Try changing the default role to a few different things.
583.. default-role:: math
585Doesn't Break Title Parsing
586---------------------------
588Inline math: `E=mc^2` or :math:`E=mc^2` or `E=mc^2`:math:.
589Other roles: :sup:`super`, `sub`:sub:.
598Some `of` these :sup:`words` are in `superscript`:sup:.
600Reset default-role to the default default.
604And now `some-invalid-string-3231231` is nonsense.
609And now with :html:`<b>inline</b> <span id="test">HTML</span>`.
611.. role:: haskell(code)
614And some inline haskell :haskell:`fmap id [1,2..10]`.
616.. role:: indirect(code)
618.. role:: py(indirect)
621Indirect python role :py:`[x*x for x in [1,2,3,4,5]]`.
623.. role:: different-indirect(code)
626.. role:: c(different-indirect)
628Different 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