Markdown Style Guide

Bang-x · Published on January 1, 2000
Markdown Style Guide
This is a comprehensive guide to the Markdown styling used in this blog. It demonstrates all the available formatting options and how they appear on the site.
Typography
Headings
Headings from h1
through h6
are supported. The main title of the article is typically an h1
, so it's recommended to start your content with an h2
.
This is a Heading 4
This is a Heading 5
This is a Heading 6
Paragraphs and Line Breaks
This is a paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam eget sapien non erat lacinia aliquam. Fusce eget sapien non erat lacinia aliquam.
This is another paragraph with a line break.
This line appears after a line break.
Emphasis
This text is italicized
This text is also italicized
This text is bold
This text is also bold
This text is bold and italicized
This text has a strikethrough
Blockquotes
This is a blockquote. It can span multiple lines and can contain other Markdown elements.
This is the second paragraph in the blockquote.
This is a blockquote with a citation.
— Albert Einstein
Lists
Unordered Lists
- Item 1
- Item 2
- Nested Item 1
- Nested Item 2
- Item 3
Ordered Lists
- First item
- Second item
- Nested item 1
- Nested item 2
- Third item
Task Lists
- Completed task
- Incomplete task
- Another incomplete task
Code
Inline Code
This is an example of inline code
.
Code Blocks
// This is a code block
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet('World');
/* CSS code block */
.markdown-content {
font-size: 16px;
line-height: 1.6;
}
.markdown-content h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
Links and Images
Links
This is a link to the homepage
Images
Image with Caption
Tables
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
Cell 7 | Cell 8 | Cell 9 |
Horizontal Rules
Footnotes
Here's a sentence with a footnote. 1
Advanced Formatting
Abbreviations
*[HTML]: Hyper Text Markup Language *[CSS]: Cascading Style Sheets
The HTML specification is maintained by the W3C.
Definition Lists
Term 1 : Definition 1
Term 2 : Definition 2a : Definition 2b
Conclusion
This guide covers most of the Markdown syntax supported by this blog. Feel free to reference it when writing your own posts.
Footnotes
-
This is the footnote. ↩