6:Author: John MacFarlane
14This is a set of tests for pandoc. Most of them are adapted from
15John Gruber's markdown test suite.
23Level four with *emphasis*
24~~~~~~~~~~~~~~~~~~~~~~~~~~
32Here's a regular paragraph.
34In Markdown 1.0.0 and earlier. Version
358. This line turns into a list item.
36Because a hard-wrapped line in the
37middle of a paragraph looked like a
40Here's one with a bullet.
56 This is a block quote.
59Here's another, differently indented:
61 This is a block quote.
62 It's indented with a tab.
64 Code in a block quote::
70 List in a block quote:
88 ---- (should be four hyphens)
96 this code block is indented by one tab
100 this block is indented by two tabs
102 These should not be escaped: \$ \\ \> \[ \{
106.. code-block:: python
194 Item 1. graf two. The quick brown fox jumped over the lazy dog's
229 iv. sublist with roman numerals, starting with 4
241 (6) Decimal start with 6
243 c) Lower alpha with paren
252Autonumbering with explicit start:
264 Definition 2, paragraph 1.
266 Definition 2, paragraph 2.
274 :address: 61 Main St.
275 :city: *Nowhere*, MA,
288Simple block on one line:
311 \begin{tabular}{|l|l|}\hline
312 Animal & Number \\ \hline
320This is *emphasized*. This is **strong**.
322This is code: ``>``, ``$``, ``\``, ``\$``, ``<html>``.
324This is\ :sub:`subscripted` and this is :sup:`superscripted`\ .
337AT&T has an ampersand in their name.
380Explicit: a `URL </url/>`_.
382Two anonymous links: `the first`__ and `the second`__
387Reference links: `link1`_ and `link2`_ and link1_ again.
392Here's a `link with an ampersand in the URL`_.
394Here's a link with an amersand in the link text: `AT&T </url/>`_.
396.. _link with an ampersand in the URL: http://example.com/?foo=1&bar=2
398Autolinks: http://example.com/?foo=1&bar=2 and nobody@nowhere.net.
407From "Voyage dans la Lune" by Georges Melies (1902):
413 :alt: Voyage dans la Lune
415Here is a movie |movie| icon.
417.. |movie| image:: movie.jpg
419And an |image with a link|.
421.. |image with a link| image:: movie.jpg
433 Comment block, should not appear in output
434 as defined by reStructuredText
439 Another comment block.
441 This one spans several
445 indentation is restored to the
453| But can a bee be said to be
454| or not to be an entire bee,
455| when half the bee is not a bee,
456| due to some ancient injury?
466================== =========== ==========
468================== =========== ==========
471================== =========== ==========
475================== =========== ==========
478================== =========== ==========
484+------------------+-----------+------------+
485| col 1 | col 2 | col 3 |
486+==================+===========+============+
488| r1 bis | b 2 | c 2 |
489+------------------+-----------+------------+
491+------------------+-----------+------------+
495+------------------+-----------+------------+
497| r1 bis | b 2 | c 2 |
498+------------------+-----------+------------+
500+------------------+-----------+------------+
502Spaces at ends of lines
504+------------------+-----------+------------+
506| r1 bis | b 2 | c 2 |
507+------------------+-----------+------------+
509+------------------+-----------+------------+
511Multiple blocks in a cell
513+------------------+-----------+------------+
516| r1 bis | - b 2 | c 2 |
517+------------------+-----------+------------+
530.. [1] Note with one line.
549Some inline math :math:`E=mc^2`\ . Now some
578Try changing the default role to a few different things.
580.. default-role:: math
582Doesn't Break Title Parsing
583---------------------------
585Inline math: `E=mc^2` or :math:`E=mc^2` or `E=mc^2`:math:.
586Other roles: :sup:`super`, `sub`:sub:.
595Some `of` these :sup:`words` are in `superscript`:sup:.
597Reset default-role to the default default.
601And now `some-invalid-string-3231231` is nonsense.
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