218 lines
10 KiB
Text
218 lines
10 KiB
Text
|
|
[1m[23m[39m[49m[24m[29mTesting pandoc markdown capabilities[0m
|
|||
|
|
Things I hope just work
|
|||
|
|
|
|||
|
|
Never
|
|||
|
|
|
|||
|
|
[22m[3m[39m[49m[24m[29m2025-07-25[0m
|
|||
|
|
|
|||
|
|
────────────────────
|
|||
|
|
|
|||
|
|
[1m[23m[39m[49m[24m[29mLEVEL 1 HEADING[0m
|
|||
|
|
|
|||
|
|
A link to a Heading [22m[23m[36m[49m[4m[29m]8;;#level-4-heading\Level 4 Heading[0m]8;;\ followed by another paragraph.
|
|||
|
|
|
|||
|
|
• fruits
|
|||
|
|
|
|||
|
|
Everything is a fruit
|
|||
|
|
|
|||
|
|
• apples
|
|||
|
|
|
|||
|
|
• macintosh
|
|||
|
|
|
|||
|
|
• red delicious
|
|||
|
|
|
|||
|
|
• pears
|
|||
|
|
|
|||
|
|
• peaches
|
|||
|
|
|
|||
|
|
• vegetables
|
|||
|
|
|
|||
|
|
• broccoli
|
|||
|
|
|
|||
|
|
• chard
|
|||
|
|
|
|||
|
|
1. first
|
|||
|
|
|
|||
|
|
2. second
|
|||
|
|
|
|||
|
|
3. third
|
|||
|
|
|
|||
|
|
i. subone
|
|||
|
|
|
|||
|
|
ii. subtwo
|
|||
|
|
|
|||
|
|
iii. subthree
|
|||
|
|
|
|||
|
|
• ☐ an unchecked task list item
|
|||
|
|
|
|||
|
|
• ☒ checked item
|
|||
|
|
|
|||
|
|
Lorem [22m[3m[39m[49m[24m[29mipsum dolor[0m sit amet, consectetur [22m[3m[39m[49m[24m[29madipi[0mscing elit. Integer nisl
|
|||
|
|
enim, condimentum [22m[23m[39m[49m[24m[9mvitae lacus vel[0m, semper efficitur est. Cras pretium
|
|||
|
|
porta luctus. [1m[23m[39m[49m[24m[29mNulla iaculis[0m nisi at quam varius, et con[1m[23m[39m[49m[24m[29msequat[0m lorem
|
|||
|
|
blandit. Ut tincidunt leo sit amet velit lobortis, et blandit metus
|
|||
|
|
mollis. Nam H₂O tristique ex a quam aliquet, eget 2¹⁰ vehicula sapien
|
|||
|
|
[22m[23m[31m[47m[24m[29m rhoncus [0m. Aliquam [22m[23m[31m[47m[24m[29m return 0; [0m sodales pretium auctor. Aliquam convallis
|
|||
|
|
sodales elementum.
|
|||
|
|
|
|||
|
|
[0m[0m[22;23;24m[33;22;23;24m#include [0m[22;23;24m[32;1;23;24m<stdio.h>[0m[22;23;24m
|
|||
|
|
|
|||
|
|
[90;22;3;24m// [0m[22;23;24m[91;1;23;24mTODO[0m[22;23;24m[90;22;3;24m: A funny comment[0m[22;23;24m
|
|||
|
|
[31;22;23;24mint[0m[22;23;24m[0m[22;23;24m main[0m[22;23;24m[90;22;23;24m()[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[90;22;23;24m{[0m[22;23;24m
|
|||
|
|
[0m[22;23;24m [0m[22;23;24m[31;22;23;24mchar[0m[22;23;24m[0m[22;23;24m greetings[0m[22;23;24m[90;22;23;24m[][0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[90;22;23;24m=[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[90;22;23;24m{[0m[22;23;24m[36;22;23;24m'H'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'e'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'l'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'l'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'o'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m' '[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'W'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'o'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'r'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'l'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'd'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'!'[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m'[0m[22;23;24m[36;22;23;24m\0[0m[22;23;24m[36;22;23;24m'[0m[22;23;24m[90;22;23;24m};[0m[22;23;24m
|
|||
|
|
[0m[22;23;24m [0m[22;23;24m[31;22;23;24mchar[0m[22;23;24m[0m[22;23;24m greetings2[0m[22;23;24m[90;22;23;24m[][0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[90;22;23;24m=[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m"Hello World!"[0m[22;23;24m[90;22;23;24m;[0m[22;23;24m
|
|||
|
|
|
|||
|
|
[0m[22;23;24m printf[0m[22;23;24m[90;22;23;24m([0m[22;23;24m[36;22;23;24m"[0m[22;23;24m[36;22;23;24m%zu\n[0m[22;23;24m[36;22;23;24m"[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[32;1;23;24msizeof[0m[22;23;24m[90;22;23;24m([0m[22;23;24m[0m[22;23;24mgreetings[0m[22;23;24m[90;22;23;24m));[0m[22;23;24m
|
|||
|
|
[0m[22;23;24m printf[0m[22;23;24m[90;22;23;24m([0m[22;23;24m[36;22;23;24m"[0m[22;23;24m[36;22;23;24m%zu\n[0m[22;23;24m[36;22;23;24m"[0m[22;23;24m[90;22;23;24m,[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[32;1;23;24msizeof[0m[22;23;24m[90;22;23;24m([0m[22;23;24m[0m[22;23;24mgreetings2[0m[22;23;24m[90;22;23;24m));[0m[22;23;24m
|
|||
|
|
|
|||
|
|
[0m[22;23;24m [0m[22;23;24m[32;1;23;24mreturn[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[36;22;23;24m0[0m[22;23;24m[90;22;23;24m;[0m[22;23;24m
|
|||
|
|
[90;22;23;24m}[0m[22;23;24m[0m
|
|||
|
|
|
|||
|
|
Aenean eros lacus, volutpat at molestie vitae, pretium eu diam. Quisque
|
|||
|
|
sit 1 + 2 + 3 + ⋯ + [22m[3m[39m[49m[24m[29mn[0m amet nisl ut dolor congue sodales.
|
|||
|
|
|
|||
|
|
$$
|
|||
|
|
\sum_{i=1}^{n} i = \frac{n (n + 1)}{2}
|
|||
|
|
$$
|
|||
|
|
|
|||
|
|
[1m[23m[39m[49m[24m[29mLevel 2 Heading[0m
|
|||
|
|
|
|||
|
|
│ This is a block quote with two lines and a
|
|||
|
|
│
|
|||
|
|
│ 1. List item
|
|||
|
|
│
|
|||
|
|
│ 2. Another list item
|
|||
|
|
│
|
|||
|
|
│ │ And a nested block quote
|
|||
|
|
│
|
|||
|
|
│ Yeah
|
|||
|
|
|
|||
|
|
[1m[23m[39m[49m[24m[29mTerm 1[0m
|
|||
|
|
Definition 1
|
|||
|
|
|
|||
|
|
[1m[23m[39m[49m[24m[29mTerm 2 with [1m[3m[39m[49m[24m[29minline markup[0m
|
|||
|
|
Definition 2
|
|||
|
|
|
|||
|
|
[22m[23m[31m[49m[24m[29m{ some code, part of Definition 2 }[0m
|
|||
|
|
|
|||
|
|
Third paragraph of definition 2.
|
|||
|
|
|
|||
|
|
[1m[23m[39m[49m[24m[29mTerm 1[0m
|
|||
|
|
Definition 1
|
|||
|
|
|
|||
|
|
[1m[23m[39m[49m[24m[29mTerm 2[0m
|
|||
|
|
Definition 2a
|
|||
|
|
|
|||
|
|
Definition 2b
|
|||
|
|
|
|||
|
|
[22m[3m[39m[49m[24m[29mLevel 3 Heading[0m
|
|||
|
|
|
|||
|
|
A little poem
|
|||
|
|
|
|||
|
|
The limerick packs laughs anatomical
|
|||
|
|
In space that is quite economical.
|
|||
|
|
But the good ones I’ve seen
|
|||
|
|
So seldom are clean
|
|||
|
|
And the clean ones so seldom are comical
|
|||
|
|
|
|||
|
|
────────────────────
|
|||
|
|
|
|||
|
|
(1) My first example will be numbered (1).
|
|||
|
|
|
|||
|
|
(2) My second example will be numbered (2).
|
|||
|
|
|
|||
|
|
Explanation of examples.
|
|||
|
|
|
|||
|
|
(3) My third example will be numbered (3).
|
|||
|
|
|
|||
|
|
As (2) illustrates, …
|
|||
|
|
|
|||
|
|
────────────────────
|
|||
|
|
|
|||
|
|
[22m[3m[39m[49m[24m[29mLevel 4 Heading[0m
|
|||
|
|
|
|||
|
|
Right Left Center Default
|
|||
|
|
───────────────── ───────────────── ───────────────── ─────────────────
|
|||
|
|
12 12 12 12
|
|||
|
|
123 123 123 123
|
|||
|
|
1 1 1 1
|
|||
|
|
───────────────── ───────────────── ───────────────── ─────────────────
|
|||
|
|
|
|||
|
|
Demonstration of simple table syntax.
|
|||
|
|
|
|||
|
|
Following is a multiline table
|
|||
|
|
|
|||
|
|
Centered Default Right Aligned Left Aligned
|
|||
|
|
Header Aligned
|
|||
|
|
─────────── ─────── ─────────────── ────────────────────────
|
|||
|
|
First row 12.0 Example of a row that
|
|||
|
|
spans multiple lines.
|
|||
|
|
Second row 5.0 Here’s another one. Note
|
|||
|
|
the blank line between
|
|||
|
|
rows.
|
|||
|
|
─────────── ─────── ─────────────── ────────────────────────
|
|||
|
|
|
|||
|
|
Here’s the caption. It, too, may span multiple lines.
|
|||
|
|
|
|||
|
|
Then we have a Grid table
|
|||
|
|
|
|||
|
|
Location Temperature 1961-1990
|
|||
|
|
in degree Celsius
|
|||
|
|
min mean max
|
|||
|
|
───────────────────── ─────── ─────── ───────
|
|||
|
|
Antarctica -89.2 N/A 19.8
|
|||
|
|
Earth -89.2 14 56.7
|
|||
|
|
───────────────────── ─────── ─────── ───────
|
|||
|
|
|
|||
|
|
Grid table
|
|||
|
|
|
|||
|
|
An a Pipe table
|
|||
|
|
|
|||
|
|
Right Left Default Center
|
|||
|
|
───────────────── ───────────────── ───────────────── ─────────────────
|
|||
|
|
12 12 12 12
|
|||
|
|
123 123 123 123
|
|||
|
|
1 1 1 1
|
|||
|
|
───────────────── ───────────────── ───────────────── ─────────────────
|
|||
|
|
|
|||
|
|
Demonstration of pipe table syntax.
|
|||
|
|
|
|||
|
|
[22m[3m[39m[49m[24m[29mLevel 5 Heading[0m
|
|||
|
|
|
|||
|
|
[22m[23m[36m[49m[4m[29m]8;;https://google.com\https://google.com[0m]8;;\
|
|||
|
|
|
|||
|
|
[22m[23m[36m[49m[4m[29m]8;;mailto:sam@green.eggs.ham\sam@green.eggs.ham[0m]8;;\
|
|||
|
|
|
|||
|
|
Link to [22m[23m[36m[49m[4m[29m]8;;index.html\my label 1[0m]8;;\ and [22m[23m[36m[49m[4m[29m]8;;.\my label 2[0m]8;;\ and [22m[23m[36m[49m[4m[29m]8;;https://fsf.org\my label 3[0m]8;;\ and [22m[23m[36m[49m[4m[29m]8;;index.html#articles\my label 4[0m]8;;\
|
|||
|
|
|
|||
|
|
This is an [22m[23m[36m[49m[4m[29m]8;;/url\inline link[0m]8;;\, and here’s [22m[23m[36m[49m[4m[29m]8;;https://fsf.org\one with a title[0m]8;;\ and [22m[23m[36m[49m[4m[29m]8;;mailto:sam@green.eggs.ham\Write me![0m]8;;\
|
|||
|
|
|
|||
|
|
[image]
|
|||
|
|
|
|||
|
|
The wonderful shork
|
|||
|
|
|
|||
|
|
Here is a footnote reference,¹ and another.²
|
|||
|
|
|
|||
|
|
This paragraph won’t be part of the note, because it isn’t indented.
|
|||
|
|
|
|||
|
|
[22m[3m[39m[49m[24m[29mLevel 6 Heading[0m
|
|||
|
|
|
|||
|
|
This is a warning.
|
|||
|
|
|
|||
|
|
This is a warning within a warning.
|
|||
|
|
|
|||
|
|
────────────────────
|
|||
|
|
|
|||
|
|
1. Here is the footnote.
|
|||
|
|
|
|||
|
|
2. Here’s one with multiple blocks.
|
|||
|
|
|
|||
|
|
Subsequent paragraphs are indented to show that they belong to the
|
|||
|
|
previous footnote.
|
|||
|
|
|
|||
|
|
[22m[23m[31m[49m[24m[29m{ some.code }[0m
|
|||
|
|
|
|||
|
|
The whole paragraph can be indented, or just the first line. In
|
|||
|
|
this way, multi-paragraph footnotes work like multi-paragraph list
|
|||
|
|
items.
|
|||
|
|
[0m]8;;\
|