2.0 KiB
2.0 KiB
Header 1
Header 2
Header 3 ### (Hashes on right are optional)
Markdown plus h2 with a custom ID
var x = "string";
function f() {
return x;
}
Hi
nested div
This is a div _with_ underscores
and a & bold element.
- Bullet lists are easy too
- Another one
- Another one
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one line (or many), and can drone on for hours.
Now some inline markup like italics, bold,
and code(). Note that underscores
in_words_are ignored.
{ value: ["or with a mime type"] }
Blockquotes are like quoted text in email replies
And, they can be nested
- A numbered list
- Which is numbered
- With periods and a space
And now some code:
// Code is just text indented a bit
which(is_easy) to_remember();
And a block
// Markdown extra adds un-indented code blocks too
if (this_is_more_code == true && !indented) {
// tild wrapped code blocks, also not indented
}
Text with two trailing spaces (on the right) can be used for things like poems
Horizontal rules
Markdown plus tables
| Header | Header | Right |
|---|---|---|
| Cell | Cell | $10 |
| Cell | Cell | $20 |
- Outer pipes on tables are optional
- Colon used for alignment (right versus left)
Markdown plus definition lists
- Bottled water
- $ 1.25
- $ 1.55 (Large)
- Milk
- Pop
- $ 1.75
- Multiple definitions and terms are possible
- Definitions can include multiple paragraphs too
*[ABBR]: Markdown plus abbreviations (produces an tag)
