Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraphs & text
Plain paragraph text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Second paragraph with bold text, italic text, bold and italic, and strikethrough.
Inline code snippet in a sentence.
Links
Blockquotes
Single line blockquote
Multi-line blockquote. Second line continues here. Third line too.
Nested blockquote
Inner level
Lists
Unordered
- Item one
- Item two
- Nested item a
- Nested item b
- Deeply nested
- Item three
Ordered
- First item
- Second item
- Nested ordered a
- Nested ordered b
- Third item
Task list
- Completed task
- Incomplete task
- Another done
Code blocks
Inline
Use let x = 5; for variable declaration.
Fenced (no language)
plain text code block
no syntax highlighting
indented lineRust
fn main() {
let name = "world";
println!("Hello, {}!", name);
}JavaScript
const greet = (name) => {
console.log(`Hello, ${name}!`);
};
greet("world");Python
def greet(name: str) -> str:
return f"Hello, {name}!"
print(greet("world"))TOML
[section]
key = "value"
number = 42
flag = trueShell
echo "hello world"
ls -la
git status
Tables
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell a | Cell b | Cell c |
| Cell d | Cell e | Cell f |
| Left aligned | Center aligned | Right aligned |
|---|---|---|
| Left | Center | Right |
| Lorem | Ipsum | Dolor |
Horizontal rules
Three ways:
Images
Footnotes
This sentence has a footnote.1
Another sentence with a different footnote.2
This is footnote 1.
This is the named footnote.
Definition lists
Term 1 : Definition for term 1
Term 2 : First definition for term 2 : Second definition for term 2
Miscellaneous
Superscript: x^2^ + y^2^
Subscript: H~2~O
Highlight: ==highlighted text==
Keyboard: press Ctrl + C
Abbreviation: the HTML spec is maintained by W3C.
*[HTML]: HyperText Markup Language *[W3C]: World Wide Web Consortium