79 字
1 分钟
Markdown 文件包含
XiaoMai 可以包含一个本地 Markdown 文件,或其中一段安全的片段。
export function greet(name: string) { return `Hello, ${name}`;}完整文件与行范围形式同样受支持:
<!-- @include: src/content/snippets/include-example.md{1-4} --><!-- @include: src/content/snippets/include-example.md{5-} --><!-- @include: src/content/snippets/include-example.md{-4} -->位于围栏代码内部的包含注释会保持原样。
分享文章
生成精美分享图或复制链接,与更多人分享本文。
继续阅读
换条路线
从其他文章中稳定抽取
最后更新于 ,距今已过 19 天
部分内容可能已过时