Complete list of Markdown Elements
This markdown file contains all common elements you can use in Markdown. this can be useful to test markdown elements in markdown renderer.
Heading Level 1
Heading Level 2
Heading Level 3
Heading Level 4
Heading Level 5
Heading Level 6
Text Formatting
Bold Text
Italic Text
Bold and Italic Text
This is a blockquote. It can span multiple lines[^54] and is useful for quoting text.
Lists
Unordered List
- Item 1
- Item 2
- Sub-item 1
- Sub-item 2
- Item 3
Ordered List
- First item
- Second item
- Nested first item
- Nested second item
- Third item
Task List
- Task 1 (Completed)
- Task 2 (Pending)
- Task 3 (Pending)
Links and Images
Inline Code and Code Blocks
This is
inline code
within a sentence1.// JavaScript Code Block function greet(name) { return `Hello, ${name}!`; } console.log(greet("Alice"));
# Python Code Block def greet(name): return f"Hello, {name}!" print(greet("Alice"))
<!-- HTML Code Block --> <div> <p>Hello, World!</p> </div>
npm install react-markdown
Tables
Name | Age | Country |
---|---|---|
Alice | 25 | USA |
Bob | 30 | Canada |
Eve | 28 | UK |
Horizontal Rule
Emojis ๐๐ฅโ
You can use emojis like ๐, ๐, and ๐ก in markdown.
Subscripts and Superscripts
H2O (Water Formula)
E = mc2 (Einstein's Equation)
E = mc2 (Einstein's Equation)
H2O is a liquid. 210 is 1024.
Footnotes
This is an example of a footnote2.
Definition Lists
Markdown
: A lightweight markup language for formatting text.
GitHub Flavored Markdown
: An extended version of Markdown used on GitHub.
Keyboard Shortcuts
Press
Ctrl + C
to copy.Press
Ctrl + V
to paste.Mathematical Expressions (LaTeX)
E = mc^2
This markdown file contains all common elements you can use in Markdown.