引用文档
在 Markdown 文件中:
在 MDX 文件中:
上述 name 为引用文档的名称,参考引用文档配置,如果引用的文档内容使用了远程仓库图片静态资源,相关静态资源将自动存储在本地 <root>/public/_remotes/<name> 目录下。
以下为使用 <!-- reference-start#ref --> 的实例:
目录
引用文档配置
frontmatterMode
ignore:忽略引用文档的 frontmatter,保留使用当前文档的 frontmattermerge:合并引用文档的 frontmatter,如果有相同的 key,引用文档的值会覆盖当前文档的值replace:使用引用文档的 frontmatter 替换当前文档的 frontmatterremove:移除当前文档的 frontmatter
文档编写参考引用文档