Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

用語集ツールチップ

最終更新 Markdown で表示Agent セットアップ

The GlossaryTooltip component is used 667 times on 453 pages.

See all examples of pages that use GlossaryTooltip

Used 667 times.

Pages

Partials

Markdown ファイル内の語句にツールチップを付けるときに、このコンポーネントを使います。ツールチップの情報は、glossary の YAML ファイルから取り込みます。

term は、情報を取り込む glossary エントリを指定します。 コンポーネントの開始タグと終了タグの間のテキストが、glossary エントリで定義する語句です。

コンポーネント

import { GlossaryTooltip } from "~/components"

<GlossaryTooltip term="example">Hover over me!</GlossaryTooltip>

用語集

productName: Style Guide
entries:
  - term: example
    general_definition: |-
      こんにちは、世界!`tooltips` の中でも **Markdown** 機能を使えます。

役に立ちましたか?