This document demonstrates all possible valid Markdown elements supported by GitHub Flavored Markdown (GFM).
This is a paragraph with some italic and bold text, as well as bold italic.
This is a blockquote.
Nested blockquote.
- Item 1
- Item 2
- Sub-item 2.1
- Sub-item 2.2
- Sub-sub-item 2.2.1
- Item 3
- Item 4
- First item
- Second item
- Sub-item 2.1
- Sub-item 2.2
- Third item
- Task 1
- Task 2
- Subtask 2.1
Here is some inline code
.
def hello():
print("Hello, world!")
Indented code block line 1
Indented code block line 2
Italic or Italic
Bold or Bold
Bold Italic or Bold Italic
This text is strikethrough
Syntax | Description | Test Text |
---|---|---|
Header | Title | Here's this |
Paragraph | Text | And more |
@octocat
😄 🚀 👍
Here is a footnote reference.1
This is red text (inline HTML).
Click to expand!
Hidden content inside details/summary.
- Incomplete
- Complete
*This text is surrounded by literal asterisks*
# Not a heading
Inline math:
Expand for more info
This uses HTML inside Markdown.
- Headings
- Paragraphs
- Blockquotes
- Lists
- Code
- Links
- Images
- Horizontal Rule
- Emphasis
- Strikethrough
- Tables
- Mentions
- Emoji
- Footnotes
- HTML (inline)
- Details/Summary (HTML)
- Checkboxes (Task Lists)
- Escaping Characters
- Math (LaTeX, note: support via extensions)
- Collapse & Expand (HTML)
- Table of Contents (Manual)
This document demonstrates all valid GitHub Flavored Markdown elements in one file.
Footnotes
-
This is the footnote. ↩