The Money Advice Service's CMS editor.
Uses scribe for HTML content editing, marked for Markdown to HTML conversion and TBD to-markdown for HTML to Markdown conversion.
npm install
bower install
Open examples/index.html
We use Karma as our test runner.
With karma-cli:
npm test
Or for the direct command:
./node_modules/karma/bin/karma start test/karma.conf.js
autoWatch
is on by default so tests will rerun whenever changes are made.
Use --single-run
if you only want it to run once.
With a global jsdoc install:
jsdoc src/editor.js
Without:
./node_modules/.bin/jsdoc src/editor.js