remark-gfm:备注插件以支持GFM(自动链接文字,删除线,表格,任务列表)

时间:2021-05-01 15:10:06
【文件属性】:
文件名称:remark-gfm:备注插件以支持GFM(自动链接文字,删除线,表格,任务列表)
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-01 15:10:06
github gfm remark table autolink 备注gfm 插件支持 。 重要的! 这个插件是在加注的新的解析器发( ,见 )。 当您还在备注12上时,请使用gfm选项进行备注。 使用此插件可用于备注13+。 安装 : npm install remark-gfm 用 假设我们有以下文件example.md : # GFM ## Autolink literals www.example.com, https://example.com, and contact@example.com. ## Strikethrough ~one~ or ~~two~~ tildes. ## Table | a | b | c | d | | - | :- | -: | :-: | ## Tasklist * [ ] to do * [x] done 我们的脚本example.js如下所示: var vfile = requir
【文件预览】:
remark-gfm-main
----.gitignore(63B)
----package.json(2KB)
----.npmrc(19B)
----index.js(985B)
----types()
--------tslint.json(106B)
--------tsconfig.json(150B)
--------test.ts(723B)
--------index.d.ts(880B)
----.github()
--------workflows()
----.prettierignore(22B)
----license(1KB)
----readme.md(6KB)
----test()
--------index.js(2KB)
--------fixtures()
----.editorconfig(147B)

网友评论