使用术语表定义短代码来渲染定义的术语表定义。此外,您可以包含一个 prepend 值,用于在定义开头添加文字。
在专门针对您产品的物理文件中创建术语表条目。这些 YAML 文件存放在 /src/content/glossary/<YOUR-PRODUCT>.yaml 中。
import { Glossary } from "~/components"
<Glossary />productName: Style Guide
entries:
- term: example
general_definition: |-
Hello, world! You can use **Markdown** features inside of your `tooltips`.