Markdown ガイド
PlainApp ノートで使える Markdown 構文クイックリファレンス — 見出し、リスト、表、コードブロックなど。
見出し
行頭に # を付けます。# の数がレベルを表し、1(最大)から 6(最小)です。見出しの前後には空行を入れてください。
# Heading level 1
## Heading level 2
### Heading level 3
#### Heading level 4
##### Heading level 5
###### Heading level 6Heading level 1
Heading level 2
Heading level 3
Heading level 4
Heading level 5
Heading level 6
ヒント: PlainApp エディターツールバーの「見出し」ボタンで自動挿入できます。
段落と改行
段落は空行で区切ります。段落内で改行するには、行末にバックスラッシュを付けます。
First paragraph.
Second paragraph.First paragraph.
Second paragraph.
Line one\
Line twoLine one
Line two
太字と斜体
テキストを二重アスタリスクで囲むと太字、一重アスタリスクで斜体になります。チルダ 2 つで取り消し線になります。
**bold text**bold text
*italic text*italic text
~~struck through~~struck through
**bold and *nested italic***bold and nested italic
リスト
行頭に - で箇条書き、1. で番号付きリストになります。スペースでインデントするとネストできます。チェックリストは - [ ]、完了は - [x] と書きます。
- One
- Two
- Three- One
- Two
- Three
1. First
2. Second
3. Third- First
- Second
- Third
- [ ] Buy milk
- [x] Write the note- Buy milk
- Write the note
- Fruit
- Apple
- Banana
- Vegetable- Fruit
- Apple
- Banana
- Vegetable
引用とコールアウト
行頭に > で引用になります。PlainApp では > [!note] でコールアウトボックスにできます。
> This is a blockquote.This is a blockquote.
> [!note] Heads up
> This renders as a callout box in PlainApp.[!note] Heads up This renders as a callout box in PlainApp.
コード
インラインコードはバッククォート 1 つで囲みます。コードブロックはバッククォート 3 つで囲み、言語名を付けるとシンタックスハイライトされます。
Use `inline code` for short snippets.Use inline code for short snippets.
```js
console.log("hello");
```console.log("hello");
ヒント: エディターツールバーの「コード」ボタンでインラインコードとコードブロックを挿入できます。
リンク
[リンクテキスト](URL) と書きます。URL を山括弧で囲むだけでリンクになります。リンクの中に画像を入れるとクリック可能な画像になります。
[PlainApp website](https://plainapp.app)<https://plainapp.app>画像
リンクの前に感嘆符を付けた形です:。
表
パイプ
| Left | Center | Right |
|:-----|:------:|------:|
| a | b | c |
| d | e | f || Left | Center | Right |
|---|---|---|
| a | b | c |
| d | e | f |
ヒント: エディターツールバーの「表」ボタンで空の表の雛形を挿入できます。
水平線
ダッシュ、アスタリスク、アンダースコアを 3 つ以上単独行に置くと区切り線になります。上に空行がないと前の行が見出しになるので注意してください。
First section.
---
Second section.First section.
Second section.
エスケープ
Markdown が整形する文字(* _ # やバッククォートなど)の前にバックスラッシュを付けると、そのまま表示されます。
\*not italic\**not italic*
\# not a heading# not a heading
インライン HTML
PlainApp のノートは一部の HTML タグも表示できます:下線、ハイライト、文字色、折りたたみ可能な details。
<u>underlined text</u>underlined text
<mark>highlighted text</mark>highlighted text
<font color="#8b5cf6">colored text</font>colored text
<details>
<summary>Click to expand</summary>
Hidden content here.
</details>Click to expand
Hidden content here.数式など
上付き x^2^、下付き H~2~O、インライン数式 $E = mc^2$、$$ で囲む数式ブロック、脚注 [^1]、表示されない %% コメント %%。
x^2^ + y^3^x^2^ + y^3^
H~2~OH2O
Inline math $E = mc^2$ and a block:
$$
a^2 + b^2 = c^2
$$Inline math $E = mc^2$ and a block: $$ a^2 + b^2 = c^2 $$
See the footnote[^1] for details.
[^1]: This is the footnote text.See the footnote[^1] for details.
[^1]: This is the footnote text.
%% This comment stays hidden in PlainApp %%%% This comment stays hidden in PlainApp %%
ヒント: PlainApp のノートでは数式・脚注・コールアウトがリッチブロックとして表示されます。ここにある「結果」列は通常の Web 出力です。