Hexo v5.1.1 Release Notes

Release Date: 2020-08-23 // almost 4 years ago
  • ๐Ÿ”„ Changes

    • ๐Ÿ›  fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs disabled @curbengh [#4489]

      • When both highlight.js and prismjs are disabled:

      _config.ymlhighlight: enable: falseprismjsenable: 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.