50 字
1 分钟
Markdown File Includes
Shirone can include a local Markdown file or a safe slice of one.
export function greet(name: string) { return `Hello, ${name}`;}The full file and line-range forms are also supported:
<!-- @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} -->Include comments inside fenced code remain literal.
Markdown File Includes
https://shirone.mysqil.com/posts/markdown-includes/分享文章
生成精美分享图或复制链接,与更多人分享本文。
继续阅读
最后更新于 ,距今已过 5 天
部分内容可能已过时