remark-directive:备注插件以支持指令

时间:2021-05-10 16:51:52
【文件属性】:
文件名称:remark-directive:备注插件以支持指令
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-10 16:51:52
markdown remark extension container directive 注释指令 插件以支持( :cite[smith04] , ::youtube[Video of a cat in a box]{v=01ab2cd3efg}等)。 重要的! 这个插件是在加注的新的解析器发( ,见 )。 使用此插件可用于备注13+。 安装 : npm install remark-directive 用 假设我们有以下文件example.md : :::main{#readme} Lorem:br ipsum. ::hr{.red} A :i[lovely] language know as :abbr[HTML]{title="HyperText Markup Language"}. ::: 我们的脚本example.js如下所示: var vfile = require ( 'to-vfile' ) var report = require ( 'vfi
【文件预览】:
remark-directive-main
----index.js(998B)
----package.json(2KB)
----readme.md(5KB)
----.github()
--------workflows()
----test()
--------index.js(2KB)
--------fixtures()
----.prettierignore(22B)
----license(1KB)
----.gitignore(63B)
----.npmrc(19B)
----types()
--------tslint.json(106B)
--------test.ts(191B)
--------tsconfig.json(156B)
--------index.d.ts(212B)
----.editorconfig(147B)

网友评论