git.iko.soy/typeable/pandoc
on rc/test4 help sign in
typeable/pandoc/test/man-reader.man
391 lines 3.2 kB history raw
1.TH "Pandoc Man tests" "" "Oct 17, 2018" "" ""
2.PP
3This is a set of tests for pandoc.
4.PP
5 * * * * *
6.SH Headers
7.SH Level 1
8.SS Level 2
10 * * * * *
11.SH Paragraphs
12.PP
13Here's a regular paragraph.
14.PP
15Another paragraph
16In Markdown 1.0.0 and earlier.
17Version 8.
18This line turns into a list item.
19Because a hard\-wrapped line in the middle of a paragraph looked like a list
20item.
21.PP
22There should be a hard line break
23.PD 0
24.P
25.PD
26here.
27.PP
28 * * * * *
29.SH Block Quotes
30Code in a block quote:
31.RS
32.nf
33\f[C]
34sub\ status\ {
35\ \ \ \ print\ "working";
37\f[]
38.fi
39.RE
40.PP
41A list:
42.IP "1." 3
43item one
44.IP "2." 3
45item two
46.PP
47.SH Code Blocks
48.PP
49Code:
50.IP
51.nf
52\f[C]
53\-\-\-\- (should be four hyphens)
55sub status {
56 print "working";
59\f[]
60.fi
61.PP
62And:
63.IP
64.nf
65\f[C]
66\tthis code line is indented by one tab
67\f[]
68.fi
69.PP
70 * * * * *
71.SH Lists
72.SS Unordered
73.PP
74Asterisks:
75.IP \[bu] 2
76asterisk 1
77.IP \[bu] 2
78asterisk 2
79.IP \[bu] 2
80asterisk 3
81.PP
82.SS Ordered
83.IP "1." 3
84First
85.IP "2." 3
86Second
87.IP "3." 3
88Third
89.PP
90.SS Nested
91.IP \[bu] 2
92Tab
93.RS 2
94.IP \[bu] 2
95Tab
96.RS 2
97.IP \[bu] 2
98Tab
99.RE
100.RE
101.PP
102Here's another:
103.IP "1." 3
104First
105.IP "2." 3
106Second:
107.RS 4
108.IP \[bu] 2
109Fee
110.IP \[bu] 2
111Fie
112.IP \[bu] 2
113Foe
114.RE
115.IP "3." 3
116Third
117.PP
118Same thing:
119.IP "1." 3
120First
121.IP "2." 3
122Second:
123.RS 4
124.IP \[bu] 2
125Fee
126.IP \[bu] 2
127Fie
128.IP \[bu] 2
129Foe
130.RE
131.IP "3." 3
132Third
133.SS different styles:
134.IP "A." 3
135Upper Alpha
136.RS 4
137.IP "I." 3
138Upper Roman.
139.RS 4
140.IP "(6)" 4
141Decimal start with 6
142.RS 4
143.IP "c)" 3
144Lower alpha with paren
145.RE
146.RE
147.RE
148.SS Ordered
149Definition lists
150.TP
151.B term1
152definition 1
153.RS
154.PP
155continued
156.RE
157.TP
158.B term2
159definition 2
160 * * * * *
161.SH Special Characters
162AT&T has an ampersand in their name.
163.PP
1644 < 5.
165.PP
1666 > 5.
167.PP
168Backslash: \\
169.PP
170Backtick: `
171.PP
172Asterisk: *
173.PP
174Underscore: _
175.PP
176Left brace: {
177.PP
178Right brace: }
179.PP
180Left bracket: [
181.PP
182Right bracket: ]
183.PP
184Left paren: (
185.PP
186Right paren: )
187.PP
188Greater\-than: >
189.PP
190Hash: #
191.PP
192Period: .
193.PP
194Bang: !
195.PP
196Plus: +
197.PP
198Minus: \-
199.PP
200.SH Links
201.PP
202.UR http://\:example.com
203some random
204site
205.UE .
206.PP
207.MT me@example.com
208my email address
209.ME .
210.SH Macros
211.de au
212.B
213Me Myself
214..
215.de auth !!
216.I
217The author is \\$1.
218.!!
219.au
220and I.
221.auth "John Jones"
222.ds me The \f[B]Author\f[R]
223It's \*(me.
224.SH Tables
225.TS
226tab(@);
227r l c l.
228T{
229Right
230T}@T{
231Left
232T}@T{
233Center
234T}@T{
235Default
236T}
238T{
23912
240T}@T{
24112
242T}@T{
24312
244T}@T{
24512
246T}
247T{
248123
249T}@T{
250123
251T}@T{
252123
253T}@T{
254123
255T}
256T{
258T}@T{
260T}@T{
262T}@T{
264T}
265.TE
266.TS
267allbox tab(;);
268rlcl.
269T{
270Right
271T};T{
272Left
273T};T{
274Center
275T};T{
276Left
277\f[I]more\f[R]
278T}
280T{
28112
282T};T{
28312
284T};T{
28512
286T};T{
28712
288T}
289T{
290123
291T};T{
292123
293T};T{
294123
295T};T{
296123
297T}
298T{
300T};T{
302T};T{
304T};T{
306T}
307.TE
308.TS
309tab(@);
310cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n).
311T{
312Centered Header
313T}@T{
314Left Aligned
315T}@T{
316Right Aligned
317T}@T{
318Default aligned
319T}
321T{
322First
323T}@T{
324row
325T}@T{
32612.0
327T}@T{
328Example of a row that spans multiple lines.
329T}
330T{
331Second
332T}@T{
333row
334T}@T{
3355.0
336T}@T{
337Here\[cq]s another one.
338Note the blank line between rows.
339T}
340.TE
341.PP
342Table without column headers:
343.PP
344.TS
345tab(@);
346r l c r.
347T{
34812
349T}@T{
35012
351T}@T{
35212
353T}@T{
35412
355T}
356T{
357123
358T}@T{
359123
360T}@T{
361123
362T}@T{
363123
364T}
365T{
367T}@T{
369T}@T{
371T}@T{
373T}
374.TE
375.TS
376tab(@);
377rl.
378a@b
379T{
380.PP
381one
382.PP
383two
384T}@T{
385.nf
386some
387 code
388.fi
389T}
390.TE