Wikity:将Wikitext编译为HTML

时间:2021-04-02 14:07:47
【文件属性】:
文件名称:Wikity:将Wikitext编译为HTML
文件大小:77KB
文件格式:ZIP
更新时间:2021-04-02 14:07:47
compiler template-language html-template wikitext templating-language * Wikity是一种工具,允许您使用Wikitext(由Wikipedia,Fandom等使用)作为模板语言来创建HTML页面,该工具在诸如构建工具中。 安装 Wikity可。 本地安装 全局安装 npm install wikity npm install -g wikity 原料药 节点 wikity.compile(folder?: string, options?: object): void 将所有Wikitext( .wiki )文件编译为HTML。 directory?: string 要编译的文件夹(默认: . ,当前目录)。 options?: object outputFolder?: string 输出HTML文件应放置在何处(默认值: wikity-out )。 templatesFolder?: string 将模板放置在哪个文件夹中(默认值
【文件预览】:
Wikity-main
----.gitignore(54B)
----package.json(1KB)
----package-lock.json(255KB)
----src()
--------cli.ts(2KB)
--------common.ts(513B)
--------index.ts(199B)
--------parse.ts(10KB)
--------compile.ts(6KB)
----changelog.md(2KB)
----tsconfig.json(2KB)
----readme.md(7KB)
----.gitattributes(103B)
----license.md(744B)
----test()
--------templates()
--------example.wiki(2KB)
--------.eleventy.js(151B)

网友评论