Skip to content

Allows compiling from markdown files to Ember handlebars templates using Remark

License

Notifications You must be signed in to change notification settings

josemarluedke/ember-cli-remark-hbs

Repository files navigation

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.

About

Allows compiling from markdown files to Ember handlebars templates using Remark

Resources

License

Stars

Watchers

Forks

Packages

No packages published