Skip to content

5.1.1

Compare
Choose a tag to compare
@release-drafter release-drafter released this 23 Aug 08:58
· 269 commits to master since this release
6635f2c

Changes

  • fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs disabled @curbengh [#4489]
    • When both highlight.js and prismjs are disabled:
    # _config.yml
    highlight:
      enable: false
    
    prismjs
      enable: false
    • there was an issue that curly brackets { } are escaped { } mistakenly in the backtick_code_block.js filter. The fix is to avoid running that filter when code highlight is disabled.
    • Some users disable Hexo's default code highlight as they prefer to their own method.