Skip to content

5.0.0

Compare
Choose a tag to compare
@curbengh curbengh released this 27 Sep 01:39
· 49 commits to master since this release
7fb1e3b

Breaking change

  • Requires Node 10.13+ [#126]
  • Moved preset to a separate config [#122]
    • so that other options also can be used, instead of just preset only
    # Previous config
    markdown: 'commonmark'
    
    # will be automatically converted to new config
    markdown:
      preset: 'commonmark'
    • When old config is used, render, plugins & anchors options will be null (instead of the defaults) for compatibility purpose, those options need to be configured separately; compatibility will be dropped in the next major version.

Features

  • feat: 'disableNunjucks' option [#125]
    • When enabled, nunjucks tags {{ }}/{% %} (used in tag plugin) will not be processed.
  • feat: options to enable/disable rules [#123]
    • Some rules are enabled or disabled depending on the preset.
    • See wiki for guide.
  • feat: add markdown-it to filter [#121]