Skip to content

Releases: x-govuk/govuk-markdown

v0.8.0

07 Sep 14:32
66327f4
Compare
Choose a tag to compare

v0.7.0...v0.8.0

v0.7.0

05 Feb 18:25
3d5ba57
Compare
Choose a tag to compare
  • Replace deprecated govuk-typography-responsive mixin 897bcee
  • Update dependencies b98688f

v0.6.0...v0.7.0

v0.6.0

23 Dec 19:20
b8e8c7b
Compare
Choose a tag to compare

v0.5.0...v0.6.0

v0.5.0

10 Dec 22:45
8627505
Compare
Choose a tag to compare

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

v0.4.0...v0.5.0

v0.4.0

19 May 18:31
Compare
Choose a tag to compare
  • Update marked dependency to v5 47012d5
  • Update minimum Node to v18 251585c
  • Update dependencies

v0.3.0...v0.4.0

v0.3.0

09 Aug 16:33
Compare
Choose a tag to compare
  • Update README.md to include command to run tests 59fe219
  • Update heading tests 958a8f4
  • Make heading classes relative to starting class – thanks @edwardhorsford 66dc3d4
  • Update dependencies e215441
  • Update README to include CJS and ESM import methods 03caa7d
  • Update dependencies c4785fa

v0.2.3...v0.3.0

v0.2.3

04 Apr 12:11
Compare
Choose a tag to compare
  • Consistent font sizing for pre-formatted text and (nested) code c786bfb
  • Lint stylesheets 2172318
  • Update dependencies 2aea59c

v0.2.2...v0.2.3

v0.2.2

19 Mar 10:52
Compare
Choose a tag to compare

v0.2.1...v0.2.2

v0.2.1

13 Mar 17:45
Compare
Choose a tag to compare
  • Use same line breaks used in marked cb51f13
  • Move language modifier for code block to containing pre element f98d223

v0.2.0...v0.2.1

v0.2.0

11 Mar 18:13
Compare
Choose a tag to compare

What’s Changed

v0.1.2...v0.2.0