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.
393Here's a `link with an ampersand in the URL`_.
395Here's a link with an amersand in the link text: `AT&T </url/>`_.
397.. _link with an ampersand in the URL: http://example.com/?foo=1&bar=2
399Autolinks: http://example.com/?foo=1&bar=2 and nobody@nowhere.net.
408From "Voyage dans la Lune" by Georges Melies (1902):
414 :alt: Voyage dans la Lune
416Here is a movie |movie| icon.
418.. |movie| image:: movie.jpg
420And an |image with a link|.
422.. |image with a link| image:: movie.jpg
434 Comment block, should not appear in output
435 as defined by reStructuredText
440 Another comment block.
442 This one spans several
446 indentation is restored to the
454| But can a bee be said to be
455| or not to be an entire bee,
456| when half the bee is not a bee,
457| due to some ancient injury?
467================== =========== ==========
469================== =========== ==========
472================== =========== ==========
476================== =========== ==========
479================== =========== ==========
485+------------------+-----------+------------+
486| col 1 | col 2 | col 3 |
487+==================+===========+============+
489| r1 bis | b 2 | c 2 |
490+------------------+-----------+------------+
492+------------------+-----------+------------+
496+------------------+-----------+------------+
498| r1 bis | b 2 | c 2 |
499+------------------+-----------+------------+
501+------------------+-----------+------------+
503Spaces at ends of lines
505+------------------+-----------+------------+
507| r1 bis | b 2 | c 2 |
508+------------------+-----------+------------+
510+------------------+-----------+------------+
512Multiple blocks in a cell
514+------------------+-----------+------------+
517| r1 bis | - b 2 | c 2 |
518+------------------+-----------+------------+
531.. [1] Note with one line.
550Some inline math :math:`E=mc^2`\ . Now some
579Try changing the default role to a few different things.
581.. default-role:: math
583Doesn't Break Title Parsing
584---------------------------
586Inline math: `E=mc^2` or :math:`E=mc^2` or `E=mc^2`:math:.
587Other roles: :sup:`super`, `sub`:sub:.
596Some `of` these :sup:`words` are in `superscript`:sup:.
598Reset default-role to the default default.
602And now `some-invalid-string-3231231` is nonsense.
607And now with :html:`<b>inline</b> <span id="test">HTML</span>`.
609.. role:: haskell(code)
612And some inline haskell :haskell:`fmap id [1,2..10]`.
614.. role:: indirect(code)
616.. role:: py(indirect)
619Indirect python role :py:`[x*x for x in [1,2,3,4,5]]`.
621.. role:: different-indirect(code)
624.. role:: c(different-indirect)
626Different 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