1.\" **** Custom macro definitions *********************************
3.\" (https://lists.gnu.org/archive/html/groff/2012-07/msg00046.html)
4.ds { \v'-0.3m'\\s[\\n[.s]*9u/12u]
6.ds < \v'0.3m'\s[\\n[.s]*9u/12u]
14.\" **** Settings *************************************************
23.\" header/footer width
29.\" font family: A, BM, H, HN, N, P, T, ZCM
33.\" interparagraph space
37.\" footnote point size
38.nr FPS (\n[PS] - 2000)
39.\" color used for strikeout
40.defcolor strikecolor rgb 0.7 0.7 0.7
41.\" color for links (rgb)
42.ds PDFHREF.COLOUR 0.35 0.00 0.60
43.\" border for links (default none)
44.ds PDFHREF.BORDER 0 0 0
45.\" point size difference between heading levels
47.\" heading level above which point size no longer changes
49.\" comment these out if you want a dot after section numbers:
51.als SN-STYLE SN-NO-DOT
52.\" pdf outline fold level
53.nr PDFOUTLINE.FOLDLEVEL 3
54.\" start out in outline view
55.pdfview /PageMode /UseOutlines
56.\" ***************************************************************
58.pdfinfo /Title "Pandoc Test Suite"
59.pdfinfo /Author "John MacFarlane; Anonymous"
71.\" 1 column (use .2C for two column)
74This is a set of tests for pandoc.
75Most of them are adapted from John Gruber's markdown test suite.
83.pdfhref W -D "/url" -A "\c" \
86.pdfhref O 2 "Level 2 with an embedded link"
87.pdfhref M "level-2-with-an-embedded-link"
89Level 3 with \f[I]emphasis\f[]
90.pdfhref O 3 "Level 3 with emphasis"
91.pdfhref M "level-3-with-emphasis"
102.pdfhref O 1 "Level 1"
105Level 2 with \f[I]emphasis\f[]
106.pdfhref O 2 "Level 2 with emphasis"
107.pdfhref M "level-2-with-emphasis"
110.pdfhref O 3 "Level 3"
116.pdfhref O 2 "Level 2"
123.pdfhref O 1 "Paragraphs"
124.pdfhref M "paragraphs"
126Here's a regular paragraph.
128In Markdown 1.0.0 and earlier.
130This line turns into a list item.
131Because a hard\-wrapped line in the middle of a paragraph looked like a list
134Here's one with a bullet.
137There should be a hard line break
143.pdfhref O 1 "Block Quotes"
144.pdfhref M "block-quotes"
149This is a block quote.
154Code in a block quote:
159\ \ \ \ print\ \[dq]working\[dq];
181This should not be a block quote: 2 > 1.
183And a following paragraph.
187.pdfhref O 1 "Code Blocks"
188.pdfhref M "code-blocks"
194\-\-\-\-\ (should\ be\ four\ hyphens)
197\ \ \ \ print\ \[dq]working\[dq];
200this\ code\ block\ is\ indented\ by\ one\ tab
208\ \ \ \ this\ code\ block\ is\ indented\ by\ two\ tabs
210These\ should\ not\ be\ escaped:\ \ \\$\ \\\\\ \\>\ \\[\ \\{
220.pdfhref O 2 "Unordered"
221.pdfhref M "unordered"
272.pdfhref O 2 "Ordered"
314The quick brown fox jumped over the lazy dog's back.
351Same thing but with paragraphs:
368.pdfhref O 2 "Tabs and spaces"
369.pdfhref M "tabs-and-spaces"
371this is a list item indented with tabs
373this is a list item indented with spaces
376this is an example list item indented with tabs
378this is an example list item indented with spaces
382.pdfhref O 2 "Fancy list markers"
383.pdfhref M "fancy-list-markers"
392sublist with roman numerals, starting with 4
414Lower alpha with paren
429Should not be a list item:
438.pdfhref O 1 "Definition Lists"
439.pdfhref M "definition-lists"
483Multiple blocks with italics:
488contains seeds, crisp, pleasant to taste
496{\ orange\ code\ block\ }
505Multiple definitions, tight:
521Multiple definitions, loose:
537Blank line after term, indented marker, alternate markers:
555.pdfhref O 1 "HTML Blocks"
556.pdfhref M "html-blocks"
558Simple block on one line:
561And nested without indentation:
566Interpreted markdown in a table:
567This is \f[I]emphasized\f[]
568And this is \f[B]strong\f[]
570Here's a simple block:
574This should be a code block, though:
595This should just be an HTML comment:
603<!\-\-\ Comment\ \-\->
607Just plain comment, with trailing spaces on the line:
621.pdfhref O 1 "Inline Markup"
622.pdfhref M "inline-markup"
624This is \f[I]emphasized\f[], and so \f[I]is this\f[].
626This is \f[B]strong\f[], and so \f[B]is this\f[].
629.pdfhref W -D "/url" -A "\c" \
633\f[B]\f[BI]This is strong and em.\f[B]\f[]
635So is \f[B]\f[BI]this\f[B]\f[] word.
637\f[B]\f[BI]This is strong and em.\f[B]\f[]
639So is \f[B]\f[BI]this\f[B]\f[] word.
641This is code: \f[C]>\f[], \f[C]$\f[], \f[C]\\\f[], \f[C]\\$\f[],
644\m[strikecolor]This is \f[I]strikeout\f[].\m[]
646Superscripts: a\*{bc\*}d a\*{\f[I]hello\f[]\*} a\*{hello\~there\*}.
648Subscripts: H\*<2\*>O, H\*<23\*>O, H\*<many\~of\~them\*>O.
650These should not be superscripts or subscripts, because of the unescaped
651spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
654Smart quotes, ellipses, dashes
655.pdfhref O 1 "Smart quotes, ellipses, dashes"
656.pdfhref M "smart-quotes-ellipses-dashes"
658\[lq]Hello,\[rq] said the spider.
659\[lq]`Shelob' is my name.\[rq]
661`A', `B', and `C' are letters.
663`Oak,' `elm,' and `beech' are names of trees.
666`He said, \[lq]I want to go.\[rq]' Were you alive in the 70's?
668Here is some quoted `\f[C]code\f[]' and a \[lq]\c
669.pdfhref W -D "http://example.com/?foo=1&bar=2" -A "\c" \
673Some dashes: one\[em]two \[em] three\[em]four \[em] five.
675Dashes between numbers: 5\[en]7, 255\[en]66, 1987\[en]1999.
677Ellipses\&...and\&...and\&....
689@alpha \[u2227] omega@
695Here's some display math:
697d over {d x} f ( x ) = lim sub {h -> 0} {f ( x + h ) \[u2212] f ( x )} over h
700Here's one that has a line break in it: @alpha + omega times x sup 2@.
702These shouldn't be math:
704To get the famous equation, write \f[C]$e\ =\ mc\[ha]2$\f[].
706$22,000 is a \f[I]lot\f[] of money.
708(It worked if \[lq]lot\[rq] is emphasized.)
710Shoes ($20) and socks ($5).
712Escaped \f[C]$\f[]: $73 \f[I]this should be emphasized\f[] 23$.
718.pdfhref O 1 "Special Characters"
719.pdfhref M "special-characters"
733AT&T has an ampersand in their name.
735AT&T is another way to write it.
781.pdfhref O 2 "Explicit"
785.pdfhref W -D "/url/" -A "\c" \
790.pdfhref W -D "/url/" -A "\c" \
795.pdfhref W -D "/url/" -A "\c" \
800.pdfhref W -D "/url/" -A "\c" \
805.pdfhref W -D "/url/" -A "\c" \
810.pdfhref W -D "/url/" -A "\c" \
815.pdfhref W -D "/url/with_underscore" -A "\c" \
820.pdfhref W -D "mailto:nobody%40nowhere.net" -A "\c" \
825.pdfhref W -D "" -A "\c" \
830.pdfhref O 2 "Reference"
831.pdfhref M "reference"
834.pdfhref W -D "/url/" -A "\c" \
839.pdfhref W -D "/url/" -A "\c" \
840 -- "embedded [brackets]"
844.pdfhref W -D "/url/" -A "\c" \
846\& by itself should be a link.
849.pdfhref W -D "/url" -A "\c" \
854.pdfhref W -D "/url" -A "\c" \
859.pdfhref W -D "/url" -A "\c" \
863This should [not][] be a link.
872.pdfhref W -D "/url/" -A "\c" \
877.pdfhref W -D "/url/" -A "\c" \
882.pdfhref O 2 "With ampersands"
883.pdfhref M "with-ampersands"
886.pdfhref W -D "http://example.com/?foo=1&bar=2" -A "\c" \
887 -- "link with an ampersand in the URL"
890Here's a link with an amersand in the link text: \c
891.pdfhref W -D "http://att.com/" -A "\c" \
896.pdfhref W -D "/script?foo=1&bar=2" -A "\c" \
901.pdfhref W -D "/script?foo=1&bar=2" -A "\c" \
902 -- "inline link in pointy braces"
906.pdfhref O 2 "Autolinks"
907.pdfhref M "autolinks"
910.pdfhref W -D "http://example.com/?foo=1&bar=2" -A "\c" \
911 -- "http://example.com/?foo=1&bar=2"
917.pdfhref W -D "http://example.com/" -A "\c" \
918 -- "http://example.com/"
923An e\-mail address: \c
924.pdfhref W -D "mailto:nobody%40nowhere.net" -A "\c" \
925 -- "nobody\@nowhere.net"
930.pdfhref W -D "http://example.com/" -A "\c" \
931 -- "http://example.com/"
935Auto\-links should not occur here: \f[C]<http://example.com/>\f[]
939or\ here:\ <http://example.com/>
948From \[lq]Voyage dans la Lune\[rq] by Georges Melies (1902):
952Here is a movie [IMAGE: movie] icon.
956.pdfhref O 1 "Footnotes"
957.pdfhref M "footnotes"
959Here is a footnote reference,\**
962It can go anywhere after the footnote reference.
963It need not be placed at the end of the document.
968This one contains multiple blocks.
970Subsequent blocks are indented to show that they belong to the footnote (as
979If you want, you can indent every line, but you can also be lazy and just
980indent the first line of each block.
982This should \f[I]not\f[] be a footnote reference, because it contains a
983space.[\[ha]my note] Here is an inline note.\**
985This is \f[I]easier\f[] to type.
986Inline notes may contain \c
987.pdfhref W -D "http://google.com" -A "\c" \
989\& and \f[C]]\f[] verbatim characters, as well as [bracketed text].
993Notes can go in quotes.\**
1004This 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