GitHub Flavored Markdown Sample
This is a sample file to test GitHub Flavored Markdown (GFM). It includes all supported features.
Headers
H1
H2
H3
H4
H5
H6
Emphasis
Italic
Italic
Bold
Bold
Strikethrough
Lists
Unordered
- Item 1
- Nested Item 1
- Nested Item 2
- Nested Item 1
- Item 2
Ordered
- First
- Second
- Third
- Nested
- Still Nested
Task Lists
- Task completed
- Task to do
- Subtask done
- Subtask pending
Links
Images
Blockquotes
This is a blockquote.
Nested blockquote.
Code
Inline code: console.log("Hello, world!");
Fenced Code Blocks
Click to expand code
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet("GitHub");
def greet(name):
print(f"Hello, {name}!")
Tables
Syntax | Description |
---|---|
Header | Title |
Paragraph | Text |
Horizontal Rule
Mentions
@octocat
Emojis
:+1: :smile: :rocket: :tada:
HTML in Markdown
This is raw HTML inside Markdown!
Footnotes
Here is a simple footnote1.
Autolink literals
Check this file: main.py
or visit https://github.com
Footnotes
-
This is the footnote. ↩