v0.5.0
This release contains a breaking change to the way the extension is loaded.
Previously, the extension would export a marked Renderer
that could be added to marked
’s options:
const GovukHTMLRenderer = require('govuk-markdown')
marked.setOptions({
renderer: new GovukHTMLRenderer()
})
Now, the extension is added like many other marked
extensions, with the marked.use()
method:
const govukMarkdown = require('govuk-markdown')
marked.use(govukMarkdown())
See #91 for more details.
- Use recommended extension export 3d5ecb5
- Update
marked
dependency d703894 - Update dependencies 741addf
- Use CommonJS for test file, matching package 6bf7632
- Lint JSDoc 592f484
- Use ESLint with Standard style b5e8705
- Restore heading ids 2124e5f
- Lint SCSS with Stylelint 8f05e3f
- Format SCSS files with Prettier 6c262bf
- Format Markdown files with Prettier 2340235
- Format YAML files with Prettier 8303eb1
- Update linting to use Stylelint v15 and Prettier 20a2efe
- Add release script and documentation 2933eab
- Update test workflow d8c4de9
- Update dependabot config 7202d13
- Use node test runner 1e4c4bd