ember-cli-remark-hbs

0.1.1 • Public • Published

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.

Dependencies (7)

Dev Dependencies (33)

Package Sidebar

Install

npm i ember-cli-remark-hbs

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

6.37 kB

Total Files

7

Last publish

Collaborators

  • josemarluedke