导入
可以使用import指令导入另一个文件的内容
导入文件
在markdown文件中导入另一个文件,需要以 "import-" 指令开头。import指令必须单独一行
$root为项目根目录,你也可以使用相对路径或者绝对路径的写法
# <!--{v-name}--> content
<!--{v-name}--> content
<!--{import-$root/hello}-->{
"name": "main"
}# <!--{v-name}--> content
<!--{v-name}--> content{
"name": "hello"
}编译结果
# main content
main content
# hello content
hello content最后更新于