【文件属性】:
文件名称:gitbook-plugin-escape-content
文件大小:3KB
文件格式:ZIP
更新时间:2021-02-21 13:32:05
javascript gitbook-plugin JavaScript
gitbook-plugin-escape-content
GitBook插件,用于转义内容。
安装
book.json
{
" plugins " : [ " escape-content " ],
}
和
gitbook install
例子
{
" pluginsConfig " : {
" escape-content " : {
" include " : [ " raw/ " ]
}
}
}
docs / hello.md
Hello, world!
docs / sample-1.md
{% extends "hello.md" %}
结果
Hello, world!
raw / sample-2.md
{% extends "../docs/hello.md" %}
结果
{% extends "../docs/hello
【文件预览】:
gitbook-plugin-escape-content-master
----LICENSE(1KB)
----README.md(627B)
----.gitignore(14B)
----index.js(573B)
----package.json(338B)