Color mode

Plugin Showcase

Plugin catalog は Plugins にあります。このページでは、Plugin が実際に何を生成するかを確認できます。各項目では Markdown のソースと、Riebeckite 上での実行例を並べています。

生成される showcase preset では、ここにあるような例をローカルで確認できます。

Obsidian Markdown

Callouts — obsidian-markdown

ソース

md
> [!tip] 試してみる
> Callout は `[!type]` マーカー付きの block quote です。
> `[!info]`、`[!warning]`、`[!question]` も同じように表示されます。

実行例

試してみる

Callout は [!type] マーカー付きの block quote です。 [!info]、[!warning]、[!question] も同じように表示されます。

ソース

md
[[README]] と [[plugins/README|Plugin catalog]] への WikiLink。

実行例

README と Plugin catalog への WikiLink。

Code

Toolbar 付きコード — code-enhance

行番号、ファイル名バー、行ハイライト、copy button を確認できます。

ソース

md
```ts title="hello.ts"
export function hello(name: string): string {
  return `こんにちは、${name}`;
}
```

実行例

hello.ts
export function hello(name: string): string {
  return `こんにちは、${name}`;
}

Code tabs — code-tabs

隣り合った tab="..." 付き code fence が、1 つの tab group になります。

ソース

md
```ts tab="React"
const greeting = "Hello from React";
```
 
```js tab="Vanilla"
console.log("Hello from JavaScript");
```

実行例

ts
const greeting = "Hello from React";
js
console.log("Hello from JavaScript");

Code annotations

フェンスのメタ情報とインラインコメントで、行のハイライト、追加・削除、フォーカスを表現します。

ソース

md
```js {2}
const first = 1;
const second = 2;
const third = 3;
```
 
```js
const kept = true;
const added = "new line"; // [!code ++]
const removed = false; // [!code --]
```
 
```js
const focused = 1; // [!code focus]
const plain = 2;
```

実行例

js
const first = 1;
const second = 2;
const third = 3;
js
const kept = true;
const added = "new line";
const removed = false;
js
const focused = 1;
const plain = 2;

インライン表現

Highlight

==text== で囲んだ範囲をインラインで強調します。

ソース

md
この文は ==強調== され、ほかはそのまま表示されます。

実行例

この文は 強調 され、ほかはそのまま表示されます。

Sidenotes

脚注記法が、本文の横に並ぶ補足へ変換されます。

ソース

md
本文中で補足を参照します。[^1]
 
[^1]: ここが sidenote の本文です。

実行例

本文中で補足を参照します。

Shortcodes

::name と :::name のディレクティブで、badge、kbd、note などを差し込みます。

ソース

md
::badge[Stable]{variant=success}
 
::kbd[Ctrl+Shift+P]
 
:::note[補足]
本文をそのまま書けます。
:::

実行例

Stable
Ctrl+Shift+P

補足

本文をそのまま書けます。

図表

Mermaid — mermaid

ソース

md
```mermaid
flowchart LR
  A[Note] --> B{Published?}
  B -->|yes| C[Site]
  B -->|no| D[Draft]
```

実行例

Diagram source
text
flowchart LR
  A[Note] --> B{Published?}
  B -->|yes| C[Site]
  B -->|no| D[Draft]

D2 — d2

ソース

md
```d2
site: Riebeckite
content -> build -> deploy
```

実行例

Diagram source
text
site: Riebeckite
content -> build -> deploy

Graphviz / DOT — graphviz

ソース

md
```dot
digraph G {
  notes -> pages;
  pages -> html;
}
```

実行例

Diagram source
text
digraph G {
  notes -> pages;
  pages -> html;
}

Chart.js — chartjs

ソース

md
```chart
{
  "type": "bar",
  "data": {
    "labels": ["Mon", "Tue", "Wed"],
    "datasets": [{ "label": "Visits", "data": [12, 19, 8] }]
  }
}
```

実行例

Vega-Lite — vega-lite

ソース

md
```vega-lite
{
  "title": "Revenue",
  "data": { "values": [{ "category": "A", "value": 28 }, { "category": "B", "value": 55 }] },
  "mark": "bar",
  "encoding": {
    "x": { "field": "category", "type": "nominal" },
    "y": { "field": "value", "type": "quantitative" }
  }
}
```

実行例

Revenue
Vega-Lite spec
text
{
  "title": "Revenue",
  "data": { "values": [{ "category": "A", "value": 28 }, { "category": "B", "value": 55 }] },
  "mark": "bar",
  "encoding": {
    "x": { "field": "category", "type": "nominal" },
    "y": { "field": "value", "type": "quantitative" }
  }
}

WaveDrom — wavedrom

ソース

md
```wavedrom
{ "signal": [
  { "name": "clk", "wave": "p......" },
  { "name": "bus", "wave": "x.34.5x", "data": "head body tail" }
] }
```

実行例

WaveJSON source
text
{ "signal": [
  { "name": "clk", "wave": "p......" },
  { "name": "bus", "wave": "x.34.5x", "data": "head body tail" }
] }

Markmap — markmap

ソース

md
```markmap
# Project
 
## Design
 
### Notation
### Rendering
 
## Delivery
```

実行例

Markdown source
text
# Project
 
## Design
 
### Notation
### Rendering
 
## Delivery

Marp slides — marp

ソース

md
```marp title="Intro deck"
# First slide
 
- a bullet
 
---
 
# Second slide
```

実行例

First slide

  • a bullet

Second slide

Marp source
text
# First slide
 
- a bullet
 
---
 
# Second slide

Maps — map

静的な fallback を先に表示し、JavaScript が有効な環境では interactive map に拡張します。

ソース

md
```map
center: 35.6812, 139.7671
zoom: 13
label: Tokyo Station
markers:
  - 35.6812, 139.7671 | Tokyo Station
  - 35.6586, 139.7454 | Tokyo Tower
```

実行例

Tokyo Station

Tokyo Station

© OpenStreetMap contributors

Map source
text
center: 35.6812, 139.7671
zoom: 13
label: Tokyo Station
markers:
  - 35.6812, 139.7671 | Tokyo Station
  - 35.6586, 139.7454 | Tokyo Tower

QR codes — qr-code

Build 時に inline SVG として生成します。

ソース

md
```qr
# caption: Project page
https://example.com/
```

実行例

Project pagehttps://example.com/

PlantUML — plantuml

図はビルド時に PlantUML サーバーの画像 URL へ変換されます。表示にはそのサーバーへ到達できる必要があります。

ソース

md
```plantuml
@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi
@enduml
```

実行例

PlantUML diagram
Diagram source
text
@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi
@enduml

Canvas — canvas

JSON Canvas をコードフェンスへ直接書くか、![[diagram.canvas]] で Canvas ファイルを埋め込みます。

ソース

md
```canvas
{
  "nodes": [
    { "id": "note", "type": "text", "x": 0, "y": 0, "width": 240, "height": 100, "text": "Note" }
  ],
  "edges": []
}
```

実行例

Canvas nodes and edges
  • text note — Note

Media

Rich embeds — rich-embed

URL を YouTube、Vimeo、Spotify、CodePen、Gist などの埋め込みに変換します。

ソース

md
```embed
https://www.youtube.com/watch?v=dQw4w9WgXcQ
title: Demo video
caption: A short caption
aspect: 16/9
```

実行例

A short caption

ソース

md
```gallery
columns: 3
items:
  - title: Default
    description: A clean, typographic theme.
    href: https://riebeckite.dev/docs/themes/default
  - title: Minimal
    description: Stripped back to the essentials.
    href: https://riebeckite.dev/docs/themes/minimal
  - title: Gruvbox
    description: A warm, high-contrast palette.
    href: https://riebeckite.dev/docs/themes/gruvbox
```

実行例

Excalidraw — excalidraw

Excalidraw 形式のノートを埋め込むと、ブラウザ側で SVG に置き換わります。このサイトでは assets/HW.md の図を埋め込んでいます。

ソース

md
![[HW]]

実行例

Responsive image — responsive-image

画像を ![[...]] で埋め込むと、対応する候補画像がある場合は <picture> と複数サイズの候補に展開されます。

ソース

md
![[riebeckite-logo-horizontal.png]]

実行例

cardlink フェンスに URL とメタ情報を書くと、リンクカードになります。

ソース

md
```cardlink
url: https://example.com/riebeckite
title: Riebeckite
description: Markdown から静的サイトを作るツール
host: example.com
```

実行例

ナレッジとデータ

Dataview — dataview

ソース

md
```dataview
TABLE file.name AS "Name", status
FROM #project
WHERE status = "active"
SORT file.name asc
LIMIT 10
```

実行例

No matching content.

Dataview query
TABLE file.name AS "Name", status
FROM #project
WHERE status = "active"
SORT file.name asc
LIMIT 10

Query — query

ソース

md
```query
sort:
  field: title
  order: asc
limit: 5
```

実行例

Bases — bases

ソース

md
```base
filters:
  and:
    - file.hasTag("featured")
properties:
  file.name:
    displayName: Title
views:
  - type: table
    name: Featured
    limit: 10
```

実行例

Featured

Title
README.ja
README
HW
ドキュメント
Documentation
アクセシビリティ
Accessibility
Framework
Framework
architecture.ja
Base definition
filters:
  and:
    - file.hasTag("featured")
properties:
  file.name:
    displayName: Title
views:
  - type: table
    name: Featured
    limit: 10

Kanban boards — kanban

本文に ## 見出しの列と task list を置くと board になります。

ソース

md
## Backlog
 
- [ ] Draft the release notes
- [ ] Link to [[README]]
 
## Done
 
- [x] Publish the fixture

実行例

Backlog
  • Draft the release notes
  • Link to README
Done
  • Publish the fixture

Flashcards

front :: back を並べた flashcards フェンスが、学習用のデッキになります。JavaScript が無効な環境でも静的なリストとして読めます。

ソース

md
```flashcards
Riebeckite とは? :: Markdown から静的サイトを作るツール
 
公開の単位は? :: Note
```

実行例

  1. Riebeckite とは?Markdown から静的サイトを作るツール
  2. 公開の単位は?Note

ExcaliBrain — excalibrain

ノートごとの関係を 7 つの領域に分けて表示します。excalibrain フェンスの中身は読みません。フェンスは「ここに描画する」という位置だけを決め、マップの中身はそのページ自身のリンクから組み立てます。

ソース

md
```excalibrain
```

実行例

上のマップには、このページの WikiLink から推論した関係が入ります。各 Plugin ページへは Markdown の相対リンクでリンクしているため、child に入るのは WikiLink で指定したページだけです。parent にはこのページへ WikiLink でリンクしているページが、sibling には parent が WikiLink でリンクしているページが並びます。

ページやサイト全体に作用する Plugin

次の Plugin は 1 つの Markdown 断片では表現できません。このページ上でも検索 box、目次、color mode toggle などとして確認できます。

Plugin 確認するもの
search サイトを絞り込む検索ボックス
toc スクロール位置に追従する目次
backlinks このノートを参照するノートの一覧
related-posts note 末尾の関連記事一覧
properties フロントマターのプロパティ一覧
breadcrumbs ページ階層のパンくず
share note の共有ボタン
hover-preview リンク先を表示するホバープレビュー
local-graph 周辺ノートのミニグラフ
garden-explorer graph と検索の explorer Page Type
taxonomy tag と folder の一覧 Page Type
docs Docs の sidebar と previous/next
folder-pages folder ごとの index Page Type
lightbox 画像を拡大する操作
diff / changelog note ごとの git history
l10n 翻訳ページ上の language switcher
color-mode light / dark / system の切り替え

ビルド時・メタデータに作用する Plugin

本文には現れず、生成物や head、リダイレクトとして結果が出る Plugin です。

Plugin 生成されるもの
seo sitemap.xml / robots.txt / feed / head の canonical と OGP
webmention webmentions.json と送受信のエンドポイント
alias 別名からのリダイレクト
series series frontmatter による前後ナビ
recent-posts 最新記事の一覧(Site が配置)
daily-notes デイリーノートの短いスニペット(Site が配置)
rename 旧パスからのリダイレクト
deploy 各ホスト向けのデプロイ設定ファイル
diagnostics 孤立ノートや未使用アセットの診断
quality 見出し順や重複 id などの品質チェック

関連

Footnotes

  1. ここが sidenote の本文です。 ↩

History

1 changesCollapseExpand
1 + # Plugin Showcase
2 +
3 + Plugin catalog は [Plugins](./README.ja.md) にあります。このページでは、Plugin が実際に何を生成するかを確認できます。各項目では Markdown のソースと、Riebeckite 上での実行例を並べています。
4 +
5 + > 生成される `showcase` preset では、ここにあるような例をローカルで確認できます。
6 +
7 + ## Obsidian Markdown
8 +
9 + ### Callouts — [`obsidian-markdown`](./obsidian-markdown.ja.md)
10 +
11 + #### ソース
12 +
13 + ````md
14 + > [!tip] 試してみる
15 + > Callout は `[!type]` マーカー付きの block quote です。
16 + > `[!info]`、`[!warning]`、`[!question]` も同じように表示されます。
17 + ````
18 +
19 + #### 実行例
20 +
21 + > [!tip] 試してみる
22 + > Callout は `[!type]` マーカー付きの block quote です。
23 + > `[!info]`、`[!warning]`、`[!question]` も同じように表示されます。
24 +
25 + ### WikiLinks と埋め込み — [`obsidian-markdown`](./obsidian-markdown.ja.md)
26 +
27 + #### ソース
28 +
29 + ````md
30 + [[README]] と [[plugins/README|Plugin catalog]] への WikiLink。
31 + ````
32 +
33 + #### 実行例
34 +
35 + [[README]] と [[plugins/README|Plugin catalog]] への WikiLink。
36 +
37 + ## Code
38 +
39 + ### Toolbar 付きコード — [`code-enhance`](./code-enhance.ja.md)
40 +
41 + 行番号、ファイル名バー、行ハイライト、copy button を確認できます。
42 +
43 + #### ソース
44 +
45 + ````md
46 + ```ts title="hello.ts"
47 + export function hello(name: string): string {
48 + return `こんにちは、${name}`;
49 + }
50 + ```
51 + ````
52 +
53 + #### 実行例
54 +
55 + ```ts title="hello.ts"
56 + export function hello(name: string): string {
57 + return `こんにちは、${name}`;
58 + }
59 + ```
60 +
61 + ### Code tabs — [`code-tabs`](./code-tabs.ja.md)
62 +
63 + 隣り合った `tab="..."` 付き code fence が、1 つの tab group になります。
64 +
65 + #### ソース
66 +
67 + ````md
68 + ```ts tab="React"
69 + const greeting = "Hello from React";
70 + ```
71 +
72 + ```js tab="Vanilla"
73 + console.log("Hello from JavaScript");
74 + ```
75 + ````
76 +
77 + #### 実行例
78 +
79 + ```ts tab="React"
80 + const greeting = "Hello from React";
81 + ```
82 +
83 + ```js tab="Vanilla"
84 + console.log("Hello from JavaScript");
85 + ```
86 +
87 + ### Code annotations
88 +
89 + フェンスのメタ情報とインラインコメントで、行のハイライト、追加・削除、フォーカスを表現します。
90 +
91 + #### ソース
92 +
93 + ````md
94 + ```js {2}
95 + const first = 1;
96 + const second = 2;
97 + const third = 3;
98 + ```
99 +
100 + ```js
101 + const kept = true;
102 + const added = "new line"; // [!code ++]
103 + const removed = false; // [!code --]
104 + ```
105 +
106 + ```js
107 + const focused = 1; // [!code focus]
108 + const plain = 2;
109 + ```
110 + ````
111 +
112 + #### 実行例
113 +
114 + ```js {2}
115 + const first = 1;
116 + const second = 2;
117 + const third = 3;
118 + ```
119 +
120 + ```js
121 + const kept = true;
122 + const added = "new line"; // [!code ++]
123 + const removed = false; // [!code --]
124 + ```
125 +
126 + ```js
127 + const focused = 1; // [!code focus]
128 + const plain = 2;
129 + ```
130 +
131 + ## インライン表現
132 +
133 + ### Highlight
134 +
135 + `==text==` で囲んだ範囲をインラインで強調します。
136 +
137 + #### ソース
138 +
139 + ````md
140 + この文は ==強調== され、ほかはそのまま表示されます。
141 + ````
142 +
143 + #### 実行例
144 +
145 + この文は ==強調== され、ほかはそのまま表示されます。
146 +
147 + ### Sidenotes
148 +
149 + 脚注記法が、本文の横に並ぶ補足へ変換されます。
150 +
151 + #### ソース
152 +
153 + ````md
154 + 本文中で補足を参照します。[^1]
155 +
156 + [^1]: ここが sidenote の本文です。
157 + ````
158 +
159 + #### 実行例
160 +
161 + 本文中で補足を参照します。[^1]
162 +
163 + [^1]: ここが sidenote の本文です。
164 +
165 + ### Shortcodes
166 +
167 + `::name` と `:::name` のディレクティブで、badge、kbd、note などを差し込みます。
168 +
169 + #### ソース
170 +
171 + ````md
172 + ::badge[Stable]{variant=success}
173 +
174 + ::kbd[Ctrl+Shift+P]
175 +
176 + :::note[補足]
177 + 本文をそのまま書けます。
178 + :::
179 + ````
180 +
181 + #### 実行例
182 +
183 + ::badge[Stable]{variant=success}
184 +
185 + ::kbd[Ctrl+Shift+P]
186 +
187 + :::note[補足]
188 + 本文をそのまま書けます。
189 + :::
190 +
191 + ## 図表
192 +
193 + ### Mermaid — [`mermaid`](./mermaid.ja.md)
194 +
195 + #### ソース
196 +
197 + ````md
198 + ```mermaid
199 + flowchart LR
200 + A[Note] --> B{Published?}
201 + B -->|yes| C[Site]
202 + B -->|no| D[Draft]
203 + ```
204 + ````
205 +
206 + #### 実行例
207 +
208 + ```mermaid
209 + flowchart LR
210 + A[Note] --> B{Published?}
211 + B -->|yes| C[Site]
212 + B -->|no| D[Draft]
213 + ```
214 +
215 + ### D2 — [`d2`](./d2.ja.md)
216 +
217 + #### ソース
218 +
219 + ````md
220 + ```d2
221 + site: Riebeckite
222 + content -> build -> deploy
223 + ```
224 + ````
225 +
226 + #### 実行例
227 +
228 + ```d2
229 + site: Riebeckite
230 + content -> build -> deploy
231 + ```
232 +
233 + ### Graphviz / DOT — [`graphviz`](./graphviz.ja.md)
234 +
235 + #### ソース
236 +
237 + ````md
238 + ```dot
239 + digraph G {
240 + notes -> pages;
241 + pages -> html;
242 + }
243 + ```
244 + ````
245 +
246 + #### 実行例
247 +
248 + ```dot
249 + digraph G {
250 + notes -> pages;
251 + pages -> html;
252 + }
253 + ```
254 +
255 + ### Chart.js — [`chartjs`](./chartjs.ja.md)
256 +
257 + #### ソース
258 +
259 + ````md
260 + ```chart
261 + {
262 + "type": "bar",
263 + "data": {
264 + "labels": ["Mon", "Tue", "Wed"],
265 + "datasets": [{ "label": "Visits", "data": [12, 19, 8] }]
266 + }
267 + }
268 + ```
269 + ````
270 +
271 + #### 実行例
272 +
273 + ```chart
274 + {
275 + "type": "bar",
276 + "data": {
277 + "labels": ["Mon", "Tue", "Wed"],
278 + "datasets": [{ "label": "Visits", "data": [12, 19, 8] }]
279 + }
280 + }
281 + ```
282 +
283 + ### Vega-Lite — [`vega-lite`](./vega-lite.ja.md)
284 +
285 + #### ソース
286 +
287 + ````md
288 + ```vega-lite
289 + {
290 + "title": "Revenue",
291 + "data": { "values": [{ "category": "A", "value": 28 }, { "category": "B", "value": 55 }] },
292 + "mark": "bar",
293 + "encoding": {
294 + "x": { "field": "category", "type": "nominal" },
295 + "y": { "field": "value", "type": "quantitative" }
296 + }
297 + }
298 + ```
299 + ````
300 +
301 + #### 実行例
302 +
303 + ```vega-lite
304 + {
305 + "title": "Revenue",
306 + "data": { "values": [{ "category": "A", "value": 28 }, { "category": "B", "value": 55 }] },
307 + "mark": "bar",
308 + "encoding": {
309 + "x": { "field": "category", "type": "nominal" },
310 + "y": { "field": "value", "type": "quantitative" }
311 + }
312 + }
313 + ```
314 +
315 + ### WaveDrom — [`wavedrom`](./wavedrom.ja.md)
316 +
317 + #### ソース
318 +
319 + ````md
320 + ```wavedrom
321 + { "signal": [
322 + { "name": "clk", "wave": "p......" },
323 + { "name": "bus", "wave": "x.34.5x", "data": "head body tail" }
324 + ] }
325 + ```
326 + ````
327 +
328 + #### 実行例
329 +
330 + ```wavedrom
331 + { "signal": [
332 + { "name": "clk", "wave": "p......" },
333 + { "name": "bus", "wave": "x.34.5x", "data": "head body tail" }
334 + ] }
335 + ```
336 +
337 + ### Markmap — [`markmap`](./markmap.ja.md)
338 +
339 + #### ソース
340 +
341 + ````md
342 + ```markmap
343 + # Project
344 +
345 + ## Design
346 +
347 + ### Notation
348 + ### Rendering
349 +
350 + ## Delivery
351 + ```
352 + ````
353 +
354 + #### 実行例
355 +
356 + ```markmap
357 + # Project
358 +
359 + ## Design
360 +
361 + ### Notation
362 + ### Rendering
363 +
364 + ## Delivery
365 + ```
366 +
367 + ### Marp slides — [`marp`](./marp.ja.md)
368 +
369 + #### ソース
370 +
371 + ````md
372 + ```marp title="Intro deck"
373 + # First slide
374 +
375 + - a bullet
376 +
377 + ---
378 +
379 + # Second slide
380 + ```
381 + ````
382 +
383 + #### 実行例
384 +
385 + ```marp title="Intro deck"
386 + # First slide
387 +
388 + - a bullet
389 +
390 + ---
391 +
392 + # Second slide
393 + ```
394 +
395 + ### Maps — [`map`](./map.ja.md)
396 +
397 + 静的な fallback を先に表示し、JavaScript が有効な環境では interactive map に拡張します。
398 +
399 + #### ソース
400 +
401 + ````md
402 + ```map
403 + center: 35.6812, 139.7671
404 + zoom: 13
405 + label: Tokyo Station
406 + markers:
407 + - 35.6812, 139.7671 | Tokyo Station
408 + - 35.6586, 139.7454 | Tokyo Tower
409 + ```
410 + ````
411 +
412 + #### 実行例
413 +
414 + ```map
415 + center: 35.6812, 139.7671
416 + zoom: 13
417 + label: Tokyo Station
418 + markers:
419 + - 35.6812, 139.7671 | Tokyo Station
420 + - 35.6586, 139.7454 | Tokyo Tower
421 + ```
422 +
423 + ### QR codes — [`qr-code`](./qr-code.ja.md)
424 +
425 + Build 時に inline SVG として生成します。
426 +
427 + #### ソース
428 +
429 + ````md
430 + ```qr
431 + # caption: Project page
432 + https://example.com/
433 + ```
434 + ````
435 +
436 + #### 実行例
437 +
438 + ```qr
439 + # caption: Project page
440 + https://example.com/
441 + ```
442 +
443 + ### PlantUML — [`plantuml`](./plantuml.ja.md)
444 +
445 + 図はビルド時に PlantUML サーバーの画像 URL へ変換されます。表示にはそのサーバーへ到達できる必要があります。
446 +
447 + #### ソース
448 +
449 + ````md
450 + ```plantuml
451 + @startuml
452 + Alice -> Bob: Hello
453 + Bob --> Alice: Hi
454 + @enduml
455 + ```
456 + ````
457 +
458 + #### 実行例
459 +
460 + ```plantuml
461 + @startuml
462 + Alice -> Bob: Hello
463 + Bob --> Alice: Hi
464 + @enduml
465 + ```
466 +
467 + ### Canvas — [`canvas`](./canvas.ja.md)
468 +
469 + JSON Canvas をコードフェンスへ直接書くか、`![[diagram.canvas]]` で Canvas ファイルを埋め込みます。
470 +
471 + #### ソース
472 +
473 + ````md
474 + ```canvas
475 + {
476 + "nodes": [
477 + { "id": "note", "type": "text", "x": 0, "y": 0, "width": 240, "height": 100, "text": "Note" }
478 + ],
479 + "edges": []
480 + }
481 + ```
482 + ````
483 +
484 + #### 実行例
485 +
486 + ```canvas
487 + {
488 + "nodes": [
489 + { "id": "note", "type": "text", "x": 0, "y": 0, "width": 240, "height": 100, "text": "Note" }
490 + ],
491 + "edges": []
492 + }
493 + ```
494 +
495 + ## Media
496 +
497 + ### Rich embeds — [`rich-embed`](./rich-embed.ja.md)
498 +
499 + URL を YouTube、Vimeo、Spotify、CodePen、Gist などの埋め込みに変換します。
500 +
501 + #### ソース
502 +
503 + ````md
504 + ```embed
505 + https://www.youtube.com/watch?v=dQw4w9WgXcQ
506 + title: Demo video
507 + caption: A short caption
508 + aspect: 16/9
509 + ```
510 + ````
511 +
512 + #### 実行例
513 +
514 + ```embed
515 + https://www.youtube.com/watch?v=dQw4w9WgXcQ
516 + title: Demo video
517 + caption: A short caption
518 + aspect: 16/9
519 + ```
520 +
521 + ### Gallery cards — [`gallery`](./gallery.ja.md)
522 +
523 + #### ソース
524 +
525 + ````md
526 + ```gallery
527 + columns: 3
528 + items:
529 + - title: Default
530 + description: A clean, typographic theme.
531 + href: https://riebeckite.dev/docs/themes/default
532 + - title: Minimal
533 + description: Stripped back to the essentials.
534 + href: https://riebeckite.dev/docs/themes/minimal
535 + - title: Gruvbox
536 + description: A warm, high-contrast palette.
537 + href: https://riebeckite.dev/docs/themes/gruvbox
538 + ```
539 + ````
540 +
541 + #### 実行例
542 +
543 + ```gallery
544 + columns: 3
545 + items:
546 + - title: Default
547 + description: A clean, typographic theme.
548 + href: https://riebeckite.dev/docs/themes/default
549 + - title: Minimal
550 + description: Stripped back to the essentials.
551 + href: https://riebeckite.dev/docs/themes/minimal
552 + - title: Gruvbox
553 + description: A warm, high-contrast palette.
554 + href: https://riebeckite.dev/docs/themes/gruvbox
555 + ```
556 +
557 + ### Excalidraw — [`excalidraw`](./excalidraw.ja.md)
558 +
559 + Excalidraw 形式のノートを埋め込むと、ブラウザ側で SVG に置き換わります。このサイトでは `assets/HW.md` の図を埋め込んでいます。
560 +
561 + #### ソース
562 +
563 + ````md
564 + ![[HW]]
565 + ````
566 +
567 + #### 実行例
568 +
569 + ![[HW]]
570 +
571 + ### Responsive image — [`responsive-image`](./responsive-image.ja.md)
572 +
573 + 画像を `![[...]]` で埋め込むと、対応する候補画像がある場合は `<picture>` と複数サイズの候補に展開されます。
574 +
575 + #### ソース
576 +
577 + ````md
578 + ![[riebeckite-logo-horizontal.png]]
579 + ````
580 +
581 + #### 実行例
582 +
583 + ![[riebeckite-logo-horizontal.png]]
584 +
585 + ### AutoCardLink
586 +
587 + `cardlink` フェンスに URL とメタ情報を書くと、リンクカードになります。
588 +
589 + #### ソース
590 +
591 + ````md
592 + ```cardlink
593 + url: https://example.com/riebeckite
594 + title: Riebeckite
595 + description: Markdown から静的サイトを作るツール
596 + host: example.com
597 + ```
598 + ````
599 +
600 + #### 実行例
601 +
602 + ```cardlink
603 + url: https://example.com/riebeckite
604 + title: Riebeckite
605 + description: Markdown から静的サイトを作るツール
606 + host: example.com
607 + ```
608 +
609 + ## ナレッジとデータ
610 +
611 + ### Dataview — [`dataview`](./dataview.ja.md)
612 +
613 + #### ソース
614 +
615 + ````md
616 + ```dataview
617 + TABLE file.name AS "Name", status
618 + FROM #project
619 + WHERE status = "active"
620 + SORT file.name asc
621 + LIMIT 10
622 + ```
623 + ````
624 +
625 + #### 実行例
626 +
627 + ```dataview
628 + TABLE file.name AS "Name", status
629 + FROM #project
630 + WHERE status = "active"
631 + SORT file.name asc
632 + LIMIT 10
633 + ```
634 +
635 + ### Query — [`query`](./query.ja.md)
636 +
637 + #### ソース
638 +
639 + ````md
640 + ```query
641 + sort:
642 + field: title
643 + order: asc
644 + limit: 5
645 + ```
646 + ````
647 +
648 + #### 実行例
649 +
650 + ```query
651 + sort:
652 + field: title
653 + order: asc
654 + limit: 5
655 + ```
656 +
657 + ### Bases — [`bases`](./bases.ja.md)
658 +
659 + #### ソース
660 +
661 + ````md
662 + ```base
663 + filters:
664 + and:
665 + - file.hasTag("featured")
666 + properties:
667 + file.name:
668 + displayName: Title
669 + views:
670 + - type: table
671 + name: Featured
672 + limit: 10
673 + ```
674 + ````
675 +
676 + #### 実行例
677 +
678 + ```base
679 + filters:
680 + and:
681 + - file.hasTag("featured")
682 + properties:
683 + file.name:
684 + displayName: Title
685 + views:
686 + - type: table
687 + name: Featured
688 + limit: 10
689 + ```
690 +
691 + ### Kanban boards — [`kanban`](./kanban.ja.md)
692 +
693 + 本文に `##` 見出しの列と task list を置くと board になります。
694 +
695 + #### ソース
696 +
697 + ````md
698 + ## Backlog
699 +
700 + - [ ] Draft the release notes
701 + - [ ] Link to [[README]]
702 +
703 + ## Done
704 +
705 + - [x] Publish the fixture
706 + ````
707 +
708 + #### 実行例
709 +
710 + ```kanban
711 + ## Backlog
712 +
713 + - [ ] Draft the release notes
714 + - [ ] Link to [[README]]
715 +
716 + ## Done
717 +
718 + - [x] Publish the fixture
719 + ```
720 +
721 + ### Flashcards
722 +
723 + `front :: back` を並べた `flashcards` フェンスが、学習用のデッキになります。JavaScript が無効な環境でも静的なリストとして読めます。
724 +
725 + #### ソース
726 +
727 + ````md
728 + ```flashcards
729 + Riebeckite とは? :: Markdown から静的サイトを作るツール
730 +
731 + 公開の単位は? :: Note
732 + ```
733 + ````
734 +
735 + #### 実行例
736 +
737 + ```flashcards
738 + Riebeckite とは? :: Markdown から静的サイトを作るツール
739 +
740 + 公開の単位は? :: Note
741 + ```
742 +
743 + ### ExcaliBrain — [`excalibrain`](./excalibrain.ja.md)
744 +
745 + ノートごとの関係を 7 つの領域に分けて表示します。`excalibrain` フェンスの中身は読みません。フェンスは「ここに描画する」という位置だけを決め、マップの中身はそのページ自身のリンクから組み立てます。
746 +
747 + #### ソース
748 +
749 + ````md
750 + ```excalibrain
751 + ```
752 + ````
753 +
754 + #### 実行例
755 +
756 + ```excalibrain
757 + ```
758 +
759 + 上のマップには、このページの WikiLink から推論した関係が入ります。各 Plugin ページへは Markdown の相対リンクでリンクしているため、`child` に入るのは WikiLink で指定したページだけです。`parent` にはこのページへ WikiLink でリンクしているページが、`sibling` には `parent` が WikiLink でリンクしているページが並びます。
760 +
761 + ## ページやサイト全体に作用する Plugin
762 +
763 + 次の Plugin は 1 つの Markdown 断片では表現できません。このページ上でも検索 box、目次、color mode toggle などとして確認できます。
764 +
765 + | Plugin | 確認するもの |
766 + | --- | --- |
767 + | [`search`](./search.ja.md) | サイトを絞り込む検索ボックス |
768 + | [`toc`](./toc.ja.md) | スクロール位置に追従する目次 |
769 + | [`backlinks`](./backlinks.ja.md) | このノートを参照するノートの一覧 |
770 + | [`related-posts`](./related-posts.ja.md) | note 末尾の関連記事一覧 |
771 + | [`properties`](./properties.ja.md) | フロントマターのプロパティ一覧 |
772 + | breadcrumbs | ページ階層のパンくず |
773 + | share | note の共有ボタン |
774 + | hover-preview | リンク先を表示するホバープレビュー |
775 + | [`local-graph`](./local-graph.ja.md) | 周辺ノートのミニグラフ |
776 + | [`garden-explorer`](./garden-explorer.ja.md) | graph と検索の explorer Page Type |
777 + | [`taxonomy`](./taxonomy.ja.md) | tag と folder の一覧 Page Type |
778 + | [`docs`](./docs.ja.md) | Docs の sidebar と previous/next |
779 + | folder-pages | folder ごとの index Page Type |
780 + | [`lightbox`](./lightbox.ja.md) | 画像を拡大する操作 |
781 + | [`diff`](./diff.ja.md) / [`changelog`](./changelog.ja.md) | note ごとの git history |
782 + | [`l10n`](./l10n.ja.md) | 翻訳ページ上の language switcher |
783 + | [`color-mode`](./color-mode.ja.md) | light / dark / system の切り替え |
784 +
785 + ## ビルド時・メタデータに作用する Plugin
786 +
787 + 本文には現れず、生成物や head、リダイレクトとして結果が出る Plugin です。
788 +
789 + | Plugin | 生成されるもの |
790 + | --- | --- |
791 + | [`seo`](./seo.ja.md) | sitemap.xml / robots.txt / feed / head の canonical と OGP |
792 + | webmention | webmentions.json と送受信のエンドポイント |
793 + | [`alias`](./alias.ja.md) | 別名からのリダイレクト |
794 + | series | `series` frontmatter による前後ナビ |
795 + | [`recent-posts`](./recent-posts.ja.md) | 最新記事の一覧(Site が配置) |
796 + | [`daily-notes`](./daily-notes.ja.md) | デイリーノートの短いスニペット(Site が配置) |
797 + | rename | 旧パスからのリダイレクト |
798 + | [`deploy`](./deploy.ja.md) | 各ホスト向けのデプロイ設定ファイル |
799 + | [`diagnostics`](./diagnostics.ja.md) | 孤立ノートや未使用アセットの診断 |
800 + | [`quality`](./quality.ja.md) | 見出し順や重複 id などの品質チェック |
801 +
802 + ## 関連
803 +
804 + - [Plugin catalog](./README.ja.md)
805 + - [Writing a Plugin](./writing-a-plugin.ja.md)
806 + - [Plugin API](../reference/plugin-api.ja.md)
807 +

Local Graph

Nearby Notes

Open in Explorer →
showcase.jaPluginsHWexcalibrain.ja
CurrentOutgoingBacklink