Skip to content

3.2.0

Compare
Choose a tag to compare
@curbengh curbengh released this 04 Sep 07:59
· 62 commits to master since this release
646dad4

Features

  • feat: mangle option [#164]
    • a built-in option of marked
    • only useful against a basic crawler used by spam bot.
  • feat: disableNunjucks option [#166]
    • enable this option to disable processing of Nunjucks tag {{ }} {% %}, particularly useful if you're not going to use tag plugins.
  • feat: extend filter to tokenizer [#165]
  • feat: 'quotes' option to override smartypants [#161]
    • it's now possible to specify the quote symbols to replace.
    • e.g. quotes: '«»“”'

Fixes

  • fix: handle invalid URL [#163]
    • invalid URL like http://localhost:4000lorem is no longer encoded.
  • fix: autolink option should not apply on markdown syntax [#162]
    • autolink: no longer affects <http://example.com>.
    • on another note, marked renderer doesn't detect example.com, if a link doesn't starts with protocol (e.g. http://), a link must starts with www to be detected (for autolink).