Markdown Cheat Sheet

Markdown
Cheat Sheet

11/28/2024


179 words · 1 min read

Share this post:


Export:

Markdown Cheat Sheet

Markdown Cheat Sheet

Basic Syntax

Headers

H1 Header

H2 Header

H3 Header

H4 Header

H5 Header
H6 Header

Emphasis

Italic text or italic text Bold text or bold text Bold and italic or bold and italic ~~Strikethrough text~~

Lists

Unordered Lists

  • Item 1
  • Item 2
    • Nested item 2.1
    • Nested item 2.2

Ordered Lists

  1. First item
  2. Second item
    1. Nested item 2.1
    2. Nested item 2.2

Link text Alt text

Blockquotes

This is a blockquote Multiple lines

Nested blockquotes

Code

Inline code with backticks

// Code block
function hello() {
  console.log('Hello, world!');
}

Tables

| Header 1 | Header 2 | |----------|----------| | Cell 1 | Cell 2 | | Cell 3 | Cell 4 |

Horizontal Rule


Extended Syntax

Task Lists

  • [x] Completed task
  • [ ] Incomplete task

Footnotes

Here's a sentence with a footnote[^1].

[^1]: This is the footnote.

Emoji

:smile: :heart: :thumbsup:

Highlighting

==Highlighted text==

Remember that some extended syntax features might require additional plugins or configurations to work in your MDX setup.



Subscribe to the Newsletter

Get notified when I publish new blog posts about game development, AI, entrepreneurship, and technology. No spam, unsubscribe anytime.

By subscribing, you agree to receive emails from Erik Bethke. You can unsubscribe at any time.

Comments

Loading comments...

Comments are powered by Giscus. You'll need a GitHub account to comment.