Basic Syntax
These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.
Heading
H1
H2
H3
Bold
bold text
Italic
italicized text
Blockquote
blockquote
Ordered List
- First item
- Second item
- Third item
Unordered List
- First item
- Second item
- Third item
Code
code
Horizontal Rule
Link
Image
Here is an image from a URL:
Here is an image from a local file:
Extended Syntax
These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.
Table
Syntax | Description | Test Text |
---|---|---|
Header | Title | Here’s this |
Paragraph | Text | And more |
Javascript Code Block
This is a fancy copy code button that is automatically added to all code blocks.
let foo = 'bar';
console.log(foo);
JSON Code Block Example
See below for code block example:
[{
"id": 1,
"first_name": "Gerald",
"last_name": "Gowan",
"email": "ggowan0@meetup.com",
"gender": "Agender",
"ip_address": "104.142.42.245"
}, {
"id": 2,
"first_name": "Ham",
"last_name": "Millsap",
"email": "hmillsap1@java.com",
"gender": "Male",
"ip_address": "105.18.173.186"
}, {
"id": 3,
"first_name": "Feodora",
"last_name": "Dog",
"email": "fdog2@amazon.co.jp",
"gender": "Female",
"ip_address": "229.96.139.237"
}, {
"id": 4,
"first_name": "Edy",
"last_name": "Statter",
"email": "estatter3@psu.edu",
"gender": "Female",
"ip_address": "73.140.155.3"
}, {
"id": 5,
"first_name": "Rona",
"last_name": "Seer",
"email": "rseer4@hexun.com",
"gender": "Female",
"ip_address": "145.67.158.116"
}]
Footnote
Here’s a sentence with a footnote. 1
Strikethrough
The world is flat.
Task List
- Write the press release
- Update the website
- Contact the media
Emoji
That is so funny! 🤣
(See also Copying and Pasting Emoji)
Footnotes
-
This is the footnote. ↩