2024-12-31 01:01:56 +00:00
|
|
|
---
|
|
|
|
|
title: ショートコード
|
|
|
|
|
weight: 9
|
|
|
|
|
prev: /docs/guide/diagrams
|
|
|
|
|
next: /docs/guide/shortcodes/callout
|
|
|
|
|
---
|
|
|
|
|
|
2025-08-14 23:49:06 +08:00
|
|
|
[Hugo ショートコード](https://gohugo.io/content-management/shortcodes/)は、コンテンツファイル内に記述する簡潔なスニペットで、組み込みまたはカスタムテンプレートを呼び出します。
|
2024-12-31 01:01:56 +00:00
|
|
|
|
|
|
|
|
Hextra は、コンテンツを強化するための美しいショートコードのコレクションを提供します。
|
|
|
|
|
|
|
|
|
|
{{< cards >}}
|
2025-08-14 23:49:06 +08:00
|
|
|
{{< card link="callout" title="Callout" icon="warning" >}}
|
|
|
|
|
{{< card link="cards" title="Cards" icon="card" >}}
|
|
|
|
|
{{< card link="details" title="Details" icon="chevron-right" >}}
|
2024-12-31 01:01:56 +00:00
|
|
|
{{< card link="filetree" title="FileTree" icon="folder-tree" >}}
|
2025-08-14 23:49:06 +08:00
|
|
|
{{< card link="icon" title="Icon" icon="badge-check" >}}
|
|
|
|
|
{{< card link="steps" title="Steps" icon="one" >}}
|
|
|
|
|
{{< card link="tabs" title="Tabs" icon="collection" >}}
|
2024-12-31 01:01:56 +00:00
|
|
|
{{< /cards >}}
|
|
|
|
|
|
|
|
|
|
<div style="padding-top:4rem"></div>
|
|
|
|
|
|
|
|
|
|
Hugo と Hextra が提供する追加のショートコード:
|
|
|
|
|
|
|
|
|
|
{{< cards >}}
|
|
|
|
|
{{< card link="jupyter" title="Jupyter Notebook" icon="jupyter" tag="alpha" >}}
|
2025-08-14 23:49:06 +08:00
|
|
|
{{< card link="others" title="Others" icon="view-grid" >}}
|
|
|
|
|
{{< /cards >}}
|