Debian Codegraph @

texmf-dist/doc/optex/markdown/examples/example.md

raw
1 # This is an H1
2
3 ## This is an H2
4
5 ### This is an H3
6
7 #### This is an H4
8
9 ##### This is an H5
10
11 ###### This is an H6
12
13 This is a text paragraph containing an ellipsis ... and followed by a thematic break.
14
15 ***
16
17 This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
18
19 ![example image](example-image.png "An example image from Martin Scharrer's mwe package")
20
21 /scientists.csv (The great minds of the 19th century rendered via a content block)
22
23 This is a fenced code block:
24
25 ``` latex
26 \documentclass{article}
27 \begin{document}
28 Hello world!
29 \end{document}
30 ```
31
32 This is a table:
33
34 | Right | Left | Default | Center |
35 |------:|:-----|---------|:------:|
36 | 12 | 12 | 12 | 12 |
37 | 123 | 123 | 123 | 123 |
38 | 1 | 1 | 1 | 1 |
39
40 : Demonstration of pipe table syntax.
41
42 This is a bullet list:
43
44 * The first item of a bullet list,
45
46 * the second item of a bullet list,
47
48 * the third item of a bullet list.
49
50 This is a compact bullet list:
51
52 * The first item of a bullet list,
53 * the second item of a bullet list,
54 * the third item of a bullet list.
55
56 This is an ordered list:
57
58 5. The first item of an ordered list,
59
60 6. the second item of an ordered list,
61
62 7. the third item of an ordered list.
63
64 This is a fancy ordered list:
65
66 e) The first item of an ordered list,
67
68 f) the second item of an ordered list,
69
70 g) the third item of an ordered list.
71
72 This is an ordered list using hash enumerators:
73
74 #. The first item of an ordered list,
75
76 #. the second item of an ordered list,
77
78 #. the third item of an ordered list.
79
80 This is a compact ordered list:
81
82 5. The first item of an ordered list,
83 6. the second item of an ordered list,
84 7. the third item of an ordered list.
85
86 This is a compact ordered list using hash enumerators:
87
88 #. The first item of an ordered list,
89 #. the second item of an ordered list,
90 #. the third item of an ordered list.
91
92 This is a compact fancy ordered list using hash enumerators:
93
94 #) The first item of an ordered list,
95 #) the second item of an ordered list,
96 #) the third item of an ordered list.
97
98 This is a task list:
99
100 * [ ] Some unfinished task
101 * [/] Some half-finished task
102 * [X] Some finished task
103 * An item of an unordered list
104 1. [ ] Some unfinished subtask
105 2. [.] Some half-finished subtask
106 3. [x] Some finished subtask
107 4. An item of an ordered list
108
109 This is a definition list:
110
111 Term 1
112
113 : Definition 1 with some ~~removed text~~
114
115 Term 2
116
117 : Definition 2
118
119 Some code, part of Definition 2
120
121 Third paragraph of Definition 2.
122
123 : Definition 3
124
125 This is a compact definition list:
126
127 Term 1
128 : Definition 1
129 Term 2
130 : Definition 2
131 : Definition 3
132
133 This is a ^superscript^ and a ~subscript~.
134
135 This is a block quote:
136
137 > This is the first level of quoting.
138 >
139 > > This is nested blockquote.
140 >
141 > Back to the first level.
142
143 Here is a note reference[^1] and another.[^longnote]
144 Here is an inline note.^[Inlines notes are easier to
145 write, since you don't have to pick an identifier and
146 move down to type the note.]
147
148 [^1]: Here is the note.
149
150 [^longnote]: Here's one with multiple blocks.
151
152 Subsequent paragraphs are indented to show that they
153 belong to the previous note.
154
155 Some code
156
157 The whole paragraph can be indented, or just the first
158 line. In this way, multi-paragraph notes work like
159 multi-paragraph list items.
160
161 This is raw `\TeX`{=tex} code:
162
163 ``` {=tex}
164 $$ x^n + y^n = z^n $$
165 ```
166
167 | this is a line block that
168 | spans multiple
169 | even
170 discontinuous
171 | lines
172
173 This is inline and display TeX math created using dollars signs:
174
175 $E=mc^2$
176
177 $$E=mc^2$$
178
179 This is inline and display TeX math created using single backslashes:
180
181 \(E=mc^2\)
182
183 \[E=mc^2\]
184
185 This is inline and display TeX math created using double backslashes:
186
187 \\(E=mc^2\\)
188
189 \\[E=mc^2\\]