除了基本的 Markdown 语法外,docusaurus还使用 remark-admonitions 和 MDX 来添加对 admonitions 的支持。由一组 3 个冒号包裹;
示例:
:::note
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
效果
:::tip
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
效果:
本文来自投稿,不代表本站立场,如若转载,请注明出处:https://typecho.firshare.cn/archives/115.html