hexo-renderer-markdown-it 4.1.0 & hexo-util 1.9.0 released

hexo-renderer-markdown-it 4.1.0

Feature

By default, when permalink option is enabled, the permalink symbol is prepended before each heading. If you prefer to append to the end of each heading:

markdown:
anchors:
permalink: true
permalinkSide: 'right'

Housekeeping

  • Remove unneeded sluggo dependency @curbengh #99.
    • It has been replaced by hexo-util’s slugize @curbengh #95.
  • Update nyc from 14.1.1 to 15.0.0 #100

hexo-util 1.9.0

Features

  • feat(prism): add data-language attribute @SukkaW #177
  • feat(prism): add mark & firstLine option support @SukkaW #172
  • feat: bring up prism highlight support @SukkaW #168
    • Laying the groundwork for the planned support of prism highlight library in the upcoming Hexo v5, in addition to the current highlight.js library.

Fixes

Refactor

Dependencies

  • chore(deps-dev): bump mocha from 6.2.2 to 7.0.0 #173