Markdownチートシート
検索・印刷可能なMarkdownリファレンス。見出し、リスト、リンク、画像、コードブロック、テーブル、GitHub拡張記法を網羅。無料。
Basic syntax
12# Heading 1
Top-level heading
## Heading 2
Second-level heading
### Heading 3
Third-level heading (up to ######)
**bold text**
Bold
*italic text*
Italic
***bold italic***
Bold and italic combined
`inline code`
Inline code span
Heading 1
=========
Setext H1 (underline style)
Heading 2
---------
Setext H2 (underline style)
Line one
Line two
Line break: two trailing spaces
Line one\
Line two
Line break: trailing backslash
Paragraph one.
Paragraph two.
Blank line starts a new paragraph
Lists
10- item
- item
Unordered list (also * or +)
1. first
2. second
Ordered list
1. first
1. second
Auto-numbering (all 1. works)
- parent
- nested child
Nested list: indent 2–4 spaces
1. step
continued paragraph
Multi-line item: align with text
- item
- item
Loose list (items become <p>)
1) first
2) second
Alternate ordered marker
3. starts at three
Start number sets list origin
- item
code in list
Code block inside a list item
4\. Not a list.
Escape the dot to avoid a list
Links & images
10[text](https://example.com)
Inline link
[text](https://example.com "Title")
Link with hover title
<https://example.com>
Autolink (bare URL)
<mail@example.com>
Email autolink

Image

Image with title
[](https://example.com)
Clickable image (image in link)
[relative link](../docs/page.md)
Relative path link
[section link](#heading-anchor)
Link to a heading anchor
[text](https://example.com/my%20page)
Encode spaces as %20 in URLs
Code & code blocks
11`code`
Inline code
``use `backticks` inside``
Inline code containing backticks
```
plain block
```
Fenced code block
```js
console.log('hi');
```
JavaScript syntax highlighting
```php
echo 'hi';
```
PHP syntax highlighting
```python
print('hi')
```
Python syntax highlighting
```bash
ls -la
```
Shell syntax highlighting
```json
{"key": "value"}
```
JSON syntax highlighting
```diff
- removed
+ added
```
Diff highlighting (+/- lines)
````
```
nested fence
```
````
Show a fence: use more backticks
indented 4 spaces
Indented code block (classic)
Tables
10| A | B |
|---|---|
| 1 | 2 |
Basic table
|:---|
Left-align a column
|:---:|
Center a column
|---:|
Right-align a column
A | B
--- | ---
1 | 2
Outer pipes are optional
| `code` | **bold** |
Inline formatting in cells
| a \| b |
Literal pipe in a cell: escape it
| [link](url) |  |
Links and images in cells
| Long header | x |
|---|---|
Divider widths need not match
| line<br>break |
Multi-line cell via <br>
Blockquotes & rules
9> quoted text
Blockquote
> level one
>> level two
Nested blockquote
> para one
>
> para two
Multi-paragraph quote
> ### Heading
> - list item
Other elements inside a quote
---
Horizontal rule
***
Horizontal rule (asterisks)
___
Horizontal rule (underscores)
text
---
text
Blank lines around rules (not H2!)
>: Author Name
Attribution line inside a quote
GitHub-flavored extras
12- [ ] todo item
- [x] done item
Task list (checkboxes)
~~strikethrough~~
Strikethrough
Text[^1]
[^1]: Footnote body.
Footnote
> [!NOTE]
Alert: note callout
> [!TIP]
Alert: tip callout
> [!IMPORTANT]
Alert: important callout
> [!WARNING]
Alert: warning callout
> [!CAUTION]
Alert: caution callout
@username
Mention a user (GitHub)
#123
Link an issue / PR (GitHub)
:tada: :rocket: :bug:
Emoji shortcodes
https://example.com
Bare URLs autolink in GFM
Escaping & HTML
11\*not italic\*
Escape formatting characters
\\
Literal backslash
\# not a heading
Escape a leading #
\[not a link\]
Escape brackets
\`not code\`
Escape backticks
<kbd>Ctrl</kbd> + <kbd>C</kbd>
Keyboard keys via HTML
<br>
Explicit line break
<sub>sub</sub> <sup>sup</sup>
Subscript / superscript
<details>
<summary>Title</summary>
Body
</details>
Collapsible section
<!-- hidden comment -->
Comment (not rendered)
& < >
HTML entities work in Markdown
Advanced
10## My Section → #my-section
Auto anchor: lowercase, dashes
[text][ref]
Reference-style link usage
[ref]: https://example.com "Title"
Reference link definition
[text][]
Shortcut: text doubles as label
![alt][logo]
Reference-style image
Term
: Definition text
Definition list (some parsers)
<a id="custom-anchor"></a>
Custom anchor target
[Back to top](#top)
Jump link within the page
---
title: Page
---
YAML front matter (static sites)
Heading {#custom-id}
Custom heading id (some parsers)
Mermaid & math fences
10```mermaid
graph TD; A-->B;
```
Mermaid flowchart fence
```mermaid
sequenceDiagram
A->>B: Hi
```
Mermaid sequence diagram
```mermaid
pie
"A": 60
"B": 40
```
Mermaid pie chart
```mermaid
gantt
task :a1, 2026-01-01, 7d
```
Mermaid Gantt chart
```mermaid
erDiagram
USER ||--o{ ORDER : places
```
Mermaid entity relationship
$E = mc^2$
Inline math (LaTeX)
$$
\frac{a}{b}
$$
Block math (display mode)
```math
\sqrt{x^2 + y^2}
```
Math fence (GitHub)
$\alpha \beta \gamma$
Greek letters in math
$x_{i}^{2}$
Subscript / superscript in math
「:q」に一致する項目はありません。
Markdownチートシートについて
このMarkdownチートシートは、構文全体を1つの検索可能なページに収めています。基本構文、リスト、リンクと画像、コードとコードブロック、テーブル、引用とルール、GitHub拡張記法、エスケープとインラインHTML、高度な構文、Mermaidと数式フェンスです。
テーブルの列を揃える方法、番号付きリストの下にリストをネストする方法、タスクリスト・脚注・折りたたみセクションの書き方、エスケープが必要な文字はどれかなど、人々が毎回検索するような疑問に、各行に動作する例とともに答えています。
このグループの他のチートシートと同様、無料でクライアント側で動作します。検索ボックスで行をリアルタイムに絞り込み、追従する目次でセクション間を移動し、任意のスニペットをワンクリックでコピーし、執筆中の参照用にページを印刷できます。
Markdownチートシートの使い方
- シートを開き、基本構文とリストからMermaid・数式フェンスまでの各セクションを確認します。
- table、task list、footnoteなどのキーワードを検索して、すべての行をリアルタイムに絞り込みます。
- GitHubや類似のプラットフォームでのみ動作する構文については、GitHub拡張記法のセクションに移動します。
- スニペットまたはそのコピーアイコンをクリックして、Markdownをクリップボードにコピーします。
- 印刷機能を使って、Markdownリファレンス全体の紙のコピーを作成します。
よくある質問
基本構文、リスト、リンクと画像、コードとコードブロック、テーブル、引用とルール、GitHub拡張記法、エスケープとHTML、高度な構文、Mermaidと数式フェンスの10セクションです。
はい。タスクリスト、テーブル、取り消し線、自動リンク、脚注、折りたたみ可能なdetailsブロック、アラート、絵文字ショートコードには、それぞれ専用のセクションがあります。
テーブルのセクションでは、パイプとハイフンの構文に加え、各列を左揃え・右揃え・中央揃えにするコロンの位置を示しています。例をコピーして編集してください。
はい。どの行のMarkdownでもクリックするか、そのコピーアイコンをクリックすれば、すぐにクリップボードにコピーされます。
はい、完全無料で、ログイン不要でブラウザ内で動作します。
人気の検索
markdown チートシート
markdown 構文
markdown テーブル 構文
github markdown チートシート
markdown コードブロック
markdown リンク 画像 構文
markdown リファレンス
お困りですか?
このツールで問題が見つかりましたか?チームにお知らせください。