目次
url preview
見出し
# 見出し1## 見出し2### 見出し3#### 見出し4
見出し1
見出し2
見出し3
見出し4
リスト
- Hello!
- Hola!
- Bonjour!
- Hi!
番号付きリスト
- First
- Second
テキストリンク
画像
画像の横幅を指定する
画像の表示が大きすぎる場合は、URL の後#○○px
と記述すると、画像の幅を px 単位で指定できます。

キャプションをつける
テーブル
Head | Head | Head |
---|---|---|
Text | Text | Text |
Text | Text | Text |
コードブロック
const foo = () => { console.log("foo");};
const foo = () => { // コード中の「テキスト」という文字列を強調 console.log("テキスト"); console.log("テキスト"); // この行だけ強調};
bash
diff のシンタックスハイライト
@@ -4,6 +4,5 @@+ const foo = bar.baz([1, 2, 3]) + 1;- let foo = bar.baz([1, 2, 3]);
数式
インラインで数式を挿入する
$a\ne0$
というように$
ひとつで挟むことで、インラインで数式を含めることができます。たとえばのようなイメージです。
引用
引用文
引用文
注釈
脚注の例1です。
区切り線
インラインスタイル
イタリック
太字
打ち消し線
インラインでcode
を挿入する
インラインのコメント
<!-- コメントテスト -->
タスクリスト
- #739
- https://github.com/octo-org/octo-repo/issues/740
- Add delight to the experience when all tasks are complete :tada:
アラート
ノート
Useful information that users should know, even when skimming content.
NOTE
Useful information that users should know, even when skimming content.
TIP
Helpful advice for doing things better or more easily.
IMPORTANT
Key information users need to know to achieve their goal.
WARNING
Urgent info that needs immediate user attention to avoid problems.
CAUTION
Advises about risks or negative outcomes of certain actions.
動画
リンクカード
# URLだけの行https://zenn.dev/zenn/articles/markdown-guide
X(Twitter)のポスト(ツイート)
リプライ元のポストを非表示にする
リプライを埋め込んだ場合、デフォルトでリプライ元のポスト含まれて表示されます。ポストのURL?conversation=none
のようにクエリパラメータにconversation=none
を指定すると、リプライ元のポストが含まれなくなります。
YouTube
ダイアグラム
graph TB A[Hard edge] -->|Link text| B(Round edge) B --> C{Decision} C -->|One| D[Result one] C -->|Two| E[Result two]
Footnotes
-
脚注の内容その 1 ↩