ember-cli-markdown-templates:支持Ember-CLI中的Markdown模板

时间:2021-05-26 16:10:40
【文件属性】:
文件名称:ember-cli-markdown-templates:支持Ember-CLI中的Markdown模板
文件大小:83KB
文件格式:ZIP
更新时间:2021-05-26 16:10:40
JavaScript ember-cli-markdown-templates 这个插件允许您使用格式在Ember应用程序中编写模板。 这对于帮助部分,文档等很有用。 一旦安装了此插件,您就可以将以Markdown编写的模板作为具有.md或.markdown扩展名的文件放置到通常的模板位置中。 这些模板将在构建时转换为常规的'.hbs'格式。 实际上,您甚至可以在Markdown模板中使用HTMLBars帮助器。 要转换Markdown模板,此插件使用库。 安装 ember install ember-cli-markdown-templates 选项 您可以通过在ember-cli-build.js文件中指定一些选项来配置ember-cli-markdown-templates。 例子: 'ember-cli-markdown-templates' : { wrapper : '<div cla
【文件预览】:
ember-cli-markdown-templates-master
----.gitignore(355B)
----app()
--------.gitkeep(0B)
----package.json(2KB)
----LICENSE.md(1KB)
----.watchmanconfig(37B)
----.travis.yml(1KB)
----index.js(370B)
----addon()
--------.gitkeep(0B)
----testem.js(581B)
----.eslintrc.js(1KB)
----README.md(3KB)
----vendor()
--------.gitkeep(0B)
----tests()
--------acceptance()
--------dummy()
--------unit()
--------helpers()
--------index.html(1KB)
--------test-helper.js(228B)
----config()
--------ember-try.js(1KB)
--------environment.js(90B)
----.eslintignore(175B)
----lib()
--------markdown-template-compiler.js(485B)
--------hbs-renderer.js(2KB)
--------compile-markdown.js(3KB)
----tests-node()
--------unit()
----.ember-cli(280B)
----ember-cli-build.js(776B)
----.npmignore(287B)
----.editorconfig(368B)
----yarn.lock(215KB)

网友评论