1Content-Type: text/x-zim-wiki
4This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.
11===== Level 2 with an embedded link =====
13==== Level 3 with emphasis ====
21===== Level 2 with emphasis =====
34====== Paragraphs ======
36Here’s a regular paragraph.
38In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.
40Here’s one with a bullet. * criminey.
42There should be a hard line break
48====== Block Quotes ======
52> This is a block quote. It is pretty short.
54> Code in a block quote:
73This should not be a block quote: 2 > 1.
75And a following paragraph.
80====== Code Blocks ======
85---- (should be four hyphens)
91this code block is indented by one tab
97 this code block is indented by two tabs
99These should not be escaped: \$ \\ \> \[ \{
174Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
193Same thing but with paragraphs:
202===== Tabs and spaces =====
204 * this is a list item indented with tabs
205 * this is a list item indented with spaces
206 * this is an example list item indented with tabs
207 * this is an example list item indented with spaces
209===== Fancy list markers =====
214 1. sublist with roman numerals, starting with 4
223 1. Decimal start with 6
224 1. Lower alpha with paren
232Should not be a list item:
241====== Definition Lists ======
246* **orange** orange fruit
247* **banana** yellow fruit
251* **orange** orange fruit
252* **banana** yellow fruit
257* **orange** orange fruit
259* **banana** yellow fruit
261Multiple blocks with italics:
263* **//apple//** red fruit
265contains seeds, crisp, pleasant to taste
267* **//orange//** orange fruit
275Multiple definitions, tight:
277* **apple** red fruitcomputer
278* **orange** orange fruitbank
279Multiple definitions, loose:
284* **orange** orange fruit
287Blank line after term, indented marker, alternate markers:
292* **orange** orange fruit
297====== HTML Blocks ======
299Simple block on one line:
303And nested without indentation:
312Interpreted markdown in a table:
317This is //emphasized//
320And this is **strong**
325Here’s a simple block:
330This should be a code block, though:
350This should just be an HTML comment:
363Just plain comment, with trailing spaces on the line:
386====== Inline Markup ======
388This is //emphasized//, and so //is this//.
390This is **strong**, and so **is this**.
392An //[[url|emphasized link]]//.
394**//This is strong and em.//**
396So is **//this//** word.
398**//This is strong and em.//**
400So is **//this//** word.
402This is code: ''>'', ''$'', ''\'', ''\$'', ''<html>''.
404~~This is //strikeout//.~~
406Superscripts: a^{bc}d a^{//hello//} a^{hello there}.
408Subscripts: H_{2}O, H_{23}O, H_{many of them}O.
410These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.
415====== Smart quotes, ellipses, dashes ======
417“Hello,” said the spider. “‘Shelob’ is my name.”
419‘A’, ‘B’, and ‘C’ are letters.
421‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
423‘He said, “I want to go.”’ Were you alive in the 70’s?
425Here is some quoted ‘''code''’ and a “[[http://example.com/?foo=1&bar=2|quoted link]]”.
427Some dashes: one—two — three—four — five.
429Dashes between numbers: 5–7, 255–66, 1987–1999.
441 * $\alpha \wedge \omega$
444 * Here’s some display math: $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
445 * Here’s one that has a line break in it: $\alpha + \omega \times x^2$.
447These shouldn’t be math:
449 * To get the famous equation, write ''$e = mc^2$''.
450 * $22,000 is a //lot// of money. So is $34,000. (It worked if “lot” is emphasized.)
451 * Shoes ($20) and socks ($5).
452 * Escaped ''$'': $73 //this should be emphasized// 23$.
460====== Special Characters ======
470AT&T has an ampersand in their name.
472AT&T is another way to write it.
521[[url/|URL and title]].
523[[url/|URL and title]].
525[[url/|URL and title]].
527[[url/|URL and title]]
529[[url/|URL and title]]
531[[url/with_underscore|with_underscore]]
533[[mailto:nobody@nowhere.net|Email link]]
541With [[url/|embedded [brackets]]].
543[[url/|b]] by itself should be a link.
545Indented [[url|once]].
547Indented [[url|twice]].
549Indented [[url|thrice]].
551This should [not][] be a link.
561===== With ampersands =====
563Here’s a [[http://example.com/?foo=1&bar=2|link with an ampersand in the URL]].
565Here’s a link with an amersand in the link text: [[http://att.com/|AT&T]].
567Here’s an [[script?foo=1&bar=2|inline link]].
569Here’s an [[script?foo=1&bar=2|inline link in pointy braces]].
573With an ampersand: http://example.com/?foo=1&bar=2
576 * http://example.com/
579An e-mail address: <nobody@nowhere.net>
581> Blockquoted: http://example.com/
583Auto-links should not occur here: ''<http://example.com/>''
586or here: <http://example.com/>
594From “Voyage dans la Lune” by Georges Melies (1902):
596{{:lalune.jpg|Voyage dans la Lune lalune}}
598Here is a movie {{:movie.jpg|movie}} icon.
603====== Footnotes ======
605Here is a footnote reference, **{Note:** Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.**}** and another. **{Note:** Here’s the long note. This one contains multiple blocks.
607Subsequent blocks are indented to show that they belong to the footnote (as with list items).
613If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.**}** This should //not// be a footnote reference, because it contains a space.[^my note] Here is an inline note. **{Note:** This is //easier// to type. Inline notes may contain [[http://google.com|links]] and '']'' verbatim characters, as well as [bracketed text].**}**
615> Notes can go in quotes. **{Note:** In quote.**}**
617 1. And in list items. **{Note:** In list.**}**
619This paragraph should not be part of the note, as it is not indented.
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