1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
|
h1. {anchor:headers}Headers
h2. {anchor:level-2-with-an-embedded-link}Level 2 with an [embedded link|https://test.example/url]
h3. {anchor:level-3-with-emphasis}Level 3 with _emphasis_
h4. Level 4
h5. Level 5
h6. Level 6
h0. this is not a header.
----
h1. Paragraphs
Here’s a regular paragraph.
Here’s one with a bullet. * criminey.
There should be a hard line break
here.
----
h1. Block Quotes
E-mail style:
bq. This is a block quote. It is pretty short.
{quote}
Code in a block quote:
{code:java}
sub status {
print "working";
}
{code}
An enumeration:
# item one
# item two
{quote}
A following paragraph.
----
h1. Code Blocks
Code:
{code:java}
---- (should be four hyphens)
sub status {
print "working";
}
{code}
And:
{code:java}
this code block is indented by two tabs
These should not be escaped: \$ \\ \> \[ \{
{code}
----
h1. {anchor:lists}Lists
h2. {anchor:unordered}Unordered
Asterisks:
* asterisk 1
* asterisk 2
* asterisk 3
Minuses:
- Minus 1
- Minus 2
- Minus 3
h2. Ordered
# First
# Second
# Third
Linebreak in paragraph:
# Item 1, line one.
Item 1. line two. The quick brown fox jumped over the lazy dog’s back.
# Item 2.
# Item 3.
h2. Nested
* Tab
** Tab
*** Tab
Here’s another:
# First
# Second:
#* Fee
#* Fie
#* Foe
# Third
Nested enumerations:
# Essential
## Important
### Relevant
#### Insignificant
----
h1. Linebreaks and Markup in Lists
* *apple*
red fruit
* *orange*
orange fruit
* *banana*
yellow fruit
Multiple blocks with italics:
* *_apple_*
red fruit
contains seeds, crisp, pleasant to taste
* *_orange_*
orange fruit
{code:java}
{ orange code block }
{code}
bq. orange block quote
----
h1. Colored Text Blocks
{color:red}
This is red.
{color}
h2. Eiffel 65
{color:blue}
da ba dee
{color}
----
h1. Inline Markup
This is _emphasized_, and so _is this_.
This is *strong*, and so *is this*.
An _[emphasized link|https://my.example/url]_.
*_This is strong and em._*
So is *_this_* word.
This is code: {{>}}, {{$}}, {{\}}, {{\$}}, {{<html>}}.
-This is _strikeout_.-
Superscripts: a{^}bc{^}d a{^}_hello_{^} a{^}hello there{^}.
Subscripts: H{~}2{~}O, C{~}6{~}H{~}12{~}O{~}6{~}, C{~} n {~}H{~}_2n_{~}O{~}n{~}.
These should not be superscripts or subscripts, because of markers used within words: a^b c^d, a~b c~d.
----
h1. Dashes, and emoticons
Some dashes: one -- two --- three.
Sure (/)
Nope (x)
Nice :D
Capital d\:D
----
h1. Math
* 2 + 2 = 4
* _x_ ∈ {_}y{_}
* _α_ ∧ {_}ω{_}
* _p_-Tree
* Here’s one more: _α_ + {_}ω{_} × {_}x{_}^2^.
----
h1. Special Characters
Here is some unicode:
* I hat: Î
* o umlaut: ö
* section: §
* set membership: ∈
* copyright: ©
AT&T has an ampersand in their name.
AT&T is another way to write it.
This & that.
4 < 5.
6 > 5.
Backslash: \
Backtick: `
Asterisk: *
Underscore: _
Left brace: {
Right brace: }
Left bracket: [
Right bracket: ]
Left paren: (
Right paren: )
Greater-than: >
Hash: #
Period: .
Bang: !
Plus: +
Minus: -
----
h1. Links
h2. Explicit
Just a [URL|https://example.org/url].
[File URL|file://some/file/name/].
[IRC link|irc://example.org/pandoc].
[Email link|mailto:nobody@nowhere.invalid]
[Not a link|not a URL].
h2. Reference
With [embedded \[brackets\]|https://example.net/url/].
https://pandoc.org by itself should be a link.
h2. With ampersands
Here’s a [link with an ampersand in the URL|http://example.com/?foo=1&bar=2].
Here’s a link with an ampersand in the link text: [AT&T|http://att.com/].
h2. Autolinks
With an ampersand: http://example.com/?foo=1&bar=2
* In a list?
* http://example.com/
* It should.
An e-mail address: mailto:nobody@nowhere.invalid
bq. Blockquoted: http://example.com/
{code:java}
Autolink should not occur here: <http://example.com/>
{code}
----
h1. Images
From "Voyage dans la Lune" by Georges Melies (1902):
!lalune.jpg!
Here is a movie !movie.jpg! icon.
|