5.1.1
版本发布时间: 2020-08-23 16:58:36
hexojs/hexo最新发布版本:v7.3.0(2024-07-01 22:41:17)
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.