Stax
Tools

Markdown Cheat Sheet

Complete markdown reference: headings, emphasis, lists, links, code blocks, tables, and GFM extensions like task lists and strikethrough.

Headings

MarkdownResult
# H1
Largest heading
## H2
Second-level
### H3
Third-level
#### H4 / ##### H5 / ###### H6
Smaller

Emphasis

MarkdownResult
*italic* or _italic_
italic
**bold** or __bold__
bold
***bold italic***
bold italic
~~strike~~ (GFM)
strike
`code`
code

Lists

MarkdownNotes
- Item
- Item
  - Nested
Unordered (or use * or +)
1. First
2. Second
3. Third
Ordered (numbers don't need to match output)
- [ ] Todo
- [x] Done
Task list (GFM)

Links and images

MarkdownNotes
[label](https://example.com)
Inline link
[label](https://example.com "Title")
Link with hover title
![alt text](image.png)
Inline image
<https://example.com>
Auto-link (URL becomes clickable)
[label][ref]

[ref]: https://example.com
Reference-style link

Code blocks

MarkdownNotes
```
code block
```
Fenced code block
```js
const x = 1;
```
With syntax highlighting (GFM)
    indent 4 spaces
Indented code block (older style)

Tables (GFM)

| Col 1   | Col 2   | Col 3   |
| ------- | :-----: | ------: |
| left    | center  | right   |
| default | aligned | aligned |

Colons in the divider row set alignment: :--- left, :---: center, ---: right.

Blockquotes & rules

MarkdownNotes
> Single quote
> spans lines.
>> Nested.
Blockquote
---
Horizontal rule (also *** or ___)

Escaping & line breaks

MarkdownNotes
\* literal asterisk
Backslash escapes
Line one  
Line two
Two trailing spaces = line break
Para 1

Para 2
Blank line = new paragraph

Try writing markdown live in our Markdown Editor with side-by-side preview.

Markdown チートシート——開発者とライターのための完全構文リファレンス

Markdown は、GitHub README、技術ドキュメント、ブログ記事、Notion ページ、Obsidian ノート、Discord メッセージ、AI チャットインターフェースを支えるユニバーサルなプレーンテキストフォーマット言語です。HTML の冗長さや LaTeX の複雑さなしに、見出し・リスト・太字・コードブロック・リンク・テーブルといった実用的な構造を加えられます。一度習得すれば、対応ツールすべてでより速く書けるようになります。

必要なセクション(見出し・強調・リスト・リンク・コードブロック・テーブル・引用)を素早く参照してください。各行に Markdown 構文とレンダリング結果または説明が示されています。今日の多くのプラットフォームが CommonMark より GFM をサポートしているため、GFM 拡張機能——タスクリスト・取り消し線・言語指定つきコードブロック——に特に注意を払っています。テーブル・改行・エスケープなど微妙な構文ルールを持つ機能については、Notes 欄で初心者がつまずきやすいポイントを解説しています。

CommonMark はすべてのプロセッサ間でコアの構文を標準化する公式 Markdown 仕様です。GitHub Flavored Markdown(GFM)は CommonMark を現代のワークフローに不可欠な機能で拡張しています:列配置つきテーブル、タスクリスト(- [x] 完了)、取り消し線(~~テキスト~~)、自動 URL リンク、言語識別子つきフェンスコードブロック。GitHub・GitLab・Notion・Obsidian・MkDocs・Docusaurus などほとんどのモダン Markdown プロセッサが GFM をベースラインとしています。迷ったときは最大の移植性のために CommonMark 構文を使用し、GFM 機能はオプションの拡張として扱ってください。

GitHub README やプルリクエストの説明を書く開発者は、テーブルのフォーマットやフェンスコードブロック構文を思い出せないときにここを参照します。MkDocs・Docusaurus・GitBook で API ドキュメントを書くテクニカルライターは、選択したプロセッサの構文を確認するために使います。Hugo・Jekyll・Astro などの静的サイトジェネレーターでブログを書くブロガーは、執筆中の書式の疑問を解決するために使います。個人的な知識管理に Obsidian や Notion を使う学生・プロは、Markdown リンクと構造を最大限活用するために参照します。

これは静的なリファレンスページです——入力を収集するインタラクティブな要素は含まれておらず、ユーザーデータはいかなるサーバーにも送信されません。

よくある質問

What's the difference between CommonMark and GFM?
CommonMark is the official Markdown spec — covers basic syntax (headings, lists, emphasis, links, code). GitHub Flavored Markdown (GFM) extends CommonMark with: tables, task lists (- [x] done), strikethrough (~~text~~), autolinks, and fenced code blocks with language hints. Most modern Markdown processors support GFM by default.
Does Markdown allow HTML?
Yes — most parsers pass HTML through unchanged. You can write <kbd>Ctrl+C</kbd>, <details>, <iframe>, <video> directly in Markdown. Some platforms (GitHub, GitLab, Reddit) sanitize HTML for security, stripping <script>, event handlers, and other dangerous tags. When in doubt, prefer pure Markdown.
How do I escape Markdown characters?
Use a backslash before any of: \\ \` * _ {} [] () # + - . ! |. So \* renders as a literal asterisk instead of starting italics. Inside code spans (`like this`) escaping isn't needed — content is rendered verbatim.
Why aren't my line breaks rendering?
Markdown collapses single newlines into spaces. To force a line break: end the line with two trailing spaces, or use <br>. To start a new paragraph: leave a blank line between blocks. Some processors (GFM) auto-break on single newlines inside lists or quotes — consult your platform's docs.
Where is Markdown used in 2026?
Everywhere: GitHub README and issues, Reddit posts, Discord/Slack messages (limited subset), Notion, Obsidian, Roam, Bear, static site generators (Jekyll, Hugo, Gatsby, Astro), documentation tools (Docusaurus, MkDocs, GitBook), and AI chat interfaces. It's effectively the lingua franca of structured plain text.

関連ツール