ember-cli-remark-hbs
v0.1.1
Published
Allow compiling from markdown files to Ember handlebars templates using Remark
Downloads
3
Readme
ember-cli-remark-hbs
Ember CLI Remark allows compiling from markdown files to Ember handlebars templates using remark.
We use remark-hbs to keep all the handlebars code from markdown.
Compatibility
- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
Installation
ember install ember-cli-remark-hbs
Usage
Plugins power remark, so you probably would like to add some to your
app. To support this use case, you can pass an array of plugins in ember-cli-build.js
.
// ..
const app = new EmberApp(defaults, {
'ember-cli-remark-hbs': {
plugins: [
require('remark-slug'),
require('remark-autolink-headings'),
require('remark-highlight.js')
]
}
});
// ..
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.