Test Page for Pandoc's Markdown
Headings
Attributes
Explicit and Implicit references.
[Explicit](#attr) and [Implicit][Attributes] references.
Code blocks
Indented code blocks
if (a > 3) {
moveShip(5 * gravity, DOWN);
}
Fenced code blocks
1 | |
Use Hexo’s inline tag plugin codeblock instead of pandoc extension fenced_code_attributes.
100 | |
1 | |
Line blocks
200 Main St.
Berkeley, CA 94718
Lists
Bullet list
- here is my first list item.
- and my second.
- here is my second list item.
* here is my first
list item.
* and my second.
<!-- to end a list, add a HTML comment like this -->
* here is my second list item.
Ordered lists
- Arabic numerals
- Second.
- Roman numerals
- Second.
- Lowercase letters
- Second.
- Uppercase letters need two spaces.
- Second.
- Parentheses enclosed uppercase letters
- Second.
- Right parentheses uppercase letters
- Second.
1. Arabic numerals
#. Second.
i. Roman numerals
#. Second.
a. Lowercase letters
#. Second.
A. Uppercase letters need two spaces.
#. Second.
(A) Parentheses enclosed uppercase letters
(#) Second.
A) Right parentheses uppercase letters
#) Second.
Task lists
Definition lists
- Term 1
-
Definition 1
- Term 2 with inline markup
-
Definition 2
{ some code, part of Definition 2 }
Example lists
- My first example will be numbered (1).
some title…
some text…
- My second example will be numbered (2).
(@) My first example will be numbered (1).
#### some title...
some text...
(@) My second example will be numbered (2).
Tables
| Fruit | Price | Advantages |
|---|---|---|
| Bananas | $1.34 |
|
| Oranges | $2.10 |
|
| Property | Earth | |
|---|---|---|
| Temperature 1961-1990 | min | -89.2 °C |
| mean | 14 °C | |
| max | 56.7 °C | |
| x | o | |
| o | x | x |
| x | o |
| Right | Left | Default | Center |
|---|---|---|---|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
1 | |
Formatting
This text is emphasized with underscores, and this is emphasized with asterisks.
This is strong emphasis and with underscores.
feasible, not feasable
This is deleted text.
H2O is a liquid. 210 is 1024.
Marked text
underline
This text is _emphasized with underscores_, and this
is *emphasized with asterisks*.
This is **strong emphasis** and __with underscores__.
feas*ible*, not feas*able*
This ~~is deleted text.~~
H~2~O is a liquid. 2^10^ is 1024.
==Marked text==
[underline]{.underline}
Verbatim
int main() (inline code blocks do not
support syntax highlighting) `int main()`{.hljs .cpp}
Links
Automatic links
<https://google.com>
Reference links
[Link1][my label 1] [Link2][my label 2] [Link3][My LaBeL 3]
[my label 1]: https://fsf.org
"The Free Software Foundation"
[my label 2]: <https://fsf.org> "The Free Software Foundation"
[my label 3]: https://fsf.org (The Free Software Foundation)
Images
Image: ![]()
Inline image: ![]()
Image: {height=150px}
Inline image: {% inlineImg /img/butterfly-icon.png 150px %}
Divs and spans
This is a warning.
This is a warning within a warning.
This is some text
Foot notes
Explicit and Implicit references.
Here is a footnote reference,1 and another.2
Here is an inline note.3
1 | |
Here is the footnote.↩︎
Here’s one with multiple blocks.
Subsequent paragraphs are indented to show that they belong to the previous footnote.
{ some.code }The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.↩︎
Inline notes are easier to write, since you don’t have to pick an identifier and move down to type the note.↩︎