Markdown チートシート

例とライブプレビュー付きの、完全な Markdown 構文リファレンスガイド。見出し、リスト、表、コードブロック、数式、GitHub Flavored Markdown 拡張まで、すべての Markdown 構文を学べます。

Markdown Syntax Reference Table

構文プレビュー

基本構文

# Heading 1
レンダリング中...
## Heading 2
レンダリング中...
### Heading 3
レンダリング中...
**bold text**
レンダリング中...
*italic text*
レンダリング中...
~~strikethrough~~
レンダリング中...
`inline code`
レンダリング中...
[link text](https://example.com)
レンダリング中...
![image alt](/favicons/favicon-96x96.png)
レンダリング中...

リスト

- Unordered item
- Another item
レンダリング中...
1. Ordered item
2. Another item
レンダリング中...
- Nested list
  - Sub-item 1
  - Sub-item 2
レンダリング中...

引用とコード

> Quote text
レンダリング中...
```javascript
const x = 1;
```
レンダリング中...
```python
def hello():
    print("Hello")
```
レンダリング中...

表

| Col1 | Col2 | Col3 |
|------|------|------|
| Data1 | Data2 | Data3 |
レンダリング中...
| Left | Center | Right |
|:-----|:------:|------:|
| Left | Center | Right |
レンダリング中...

水平線

---
レンダリング中...
***
レンダリング中...

数式

$E = mc^2$
レンダリング中...
$\sum_{i=1}^{n} x_i$
レンダリング中...
$$\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}$$
レンダリング中...
$$\frac{-b \pm \sqrt{b^2-4ac}}{2a}$$
レンダリング中...
$$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$$
レンダリング中...

GFM 拡張

~~strikethrough text~~
レンダリング中...
| Header1 | Header2 |
|---------|---------|
| Cell    | Cell    |
レンダリング中...
- [ ] Incomplete task
- [x] Completed task
レンダリング中...

HTML タグ

<kbd>Ctrl</kbd> + <kbd>C</kbd>
レンダリング中...
<mark>highlighted text</mark>
レンダリング中...
<sub>subscript</sub> and <sup>superscript</sup>
レンダリング中...
<em>emphasis</em> and <strong>bold</strong>
レンダリング中...