ember install ember-cli-markdown-codefences
Markdown codefences will be tested by ember-cli-qunit
or ember-cli-mocha
automatically when you run ember test.
ember-cli-markdown-codefences
can be configured through the markdown-codefences
key in your ember-cli-build.js
file:
const app = new EmberApp(defaults, {
'markdown-codefences': {
testGenerator: 'ember-qunit',
},
});
-
testGenerator
is automatically detected ifember-qunit
/ember-cli-qunit
orember-mocha
/ember-cli-mocha
are used, but can also be set toember-qunit
andember-mocha
manually. -
codeTransforms
is automatically filled withjavascript
,html
,json
andhandlebars
.
If you want to contribute to this addon, please read the CONTRIBUTING.md.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details