Convert static Markdown files to HTML using Showdown at build time.
ember install ember-markdown-html
Currently this addon is hardcoded to look for Markdown files in a markdown
folder at the project's root.
You can render the HTML by calling the provided helper:
Otherwise you will have access to the JSON object by importing the output file:
import markdown from 'ember-markdown-html/markdown-html';
// => { [file_name]: 'html', ... }
git clone <repository-url>
cd ember-markdown-html
yarn install
yarn lint:js
yarn lint:js --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"yarn test
– Runsember try:each
to test your addon against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.