logo
::
2023-12-29 2025-05-28

test

#雑記

url preview

見出し

# 見出し1
## 見出し2
### 見出し3
#### 見出し4

見出し1

見出し2

見出し3

見出し4

リスト

  • Hello!
  • Hola!
    • Bonjour!
    • Hi!

番号付きリスト

  1. First
  2. Second

テキストリンク

アンカーテキスト

画像

画像の横幅を指定する

画像の表示が大きすぎる場合は、URL の後#○○pxと記述すると、画像の幅を px 単位で指定できます。

![altテキスト](https://画像のURL#250px)
alt

キャプションをつける

alt
caption text

テーブル

Head Head Head
Text Text Text
Text Text Text

コードブロック

foo.js
const foo = () => {
console.log("foo");
};
foo.js
const foo = () => {
// コード中の「テキスト」という文字列を強調
console.log("テキスト");
console.log("テキスト");
// この行だけ強調
};
Terminal window
bash

diff のシンタックスハイライト

@@ -4,6 +4,5 @@
+ const foo = bar.baz([1, 2, 3]) + 1;
- let foo = bar.baz([1, 2, 3]);

数式

eiθ=cosθ+isinθe^{i\theta} = \cos\theta + i\sin\theta

インラインで数式を挿入する

$a\ne0$というように$ひとつで挟むことで、インラインで数式を含めることができます。たとえばa0a\ne0のようなイメージです。

引用

引用文
引用文

注釈

脚注の例1です。

区切り線


インラインスタイル

イタリック
太字
打ち消し線
インラインでcodeを挿入する

インラインのコメント

<!-- コメントテスト -->

タスクリスト

アラート

ノート

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.

動画

リンクカード

Terminal window
# 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. 脚注の内容その 1