Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
images
option is used by @benwinding in https://github.com/hexojs/hexo-renderer-markdown-it/pull/210
Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/v7.1.0...7.1.1
inline
option by @yoshinorin in https://github.com/hexojs/hexo-renderer-markdown-it/pull/202
devDependencies
and replace nyc
with c8
by @yoshinorin in https://github.com/hexojs/hexo-renderer-markdown-it/pull/201
actions/checkout
and actions/setup-node
by @yoshinorin in https://github.com/hexojs/hexo-renderer-markdown-it/pull/200
https://github.com/hexojs/hexo-renderer-markdown-it/compare/v7.0.0...v7.1.0
npm dependencies
badge from README by @yoshinorin in https://github.com/hexojs/hexo-renderer-markdown-it/pull/186
Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/6.1.0...v7.0.0
Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/6.0.1...6.1.0
Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/6.0.0...6.0.1
Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/5.0.0...6.0.0
# Previous config
markdown: 'commonmark'
# will be automatically converted to new config
markdown:
preset: 'commonmark'
render
, plugins
& anchors
options will be null (instead of the defaults) for compatibility purpose, those options need to be configured separately; compatibility will be dropped in the next major version.{{ }}
/{% %}
(used in tag plugin) will not be processed.permalinkSide
option [#105]. 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'
sluggo
dependency [#99]. It has been replaced by hexo-util's slugize [#95].markdown:
render:
html: true
xhtmlOut: false
breaks: true
linkify: true
typographer: true
quotes: '“”‘’'
plugins:
anchors:
level: 2
collisionSuffix: ''
permalink: false
permalinkClass: 'header-anchor'
permalinkSymbol: '¶'
case: 0
separator: '-'
markdown:
anchors:
permalink: true
level: 1
collisionSuffix: 'v'
case: 1
markdown:
plugins:
- markdown-it-abbr
- markdown-it-cjk-breaks
- markdown-it-container
- markdown-it-deflist
- markdown-it-emoji
- markdown-it-footnote
- markdown-it-ins
- markdown-it-mark
- markdown-it-sub
- markdown-it-sup
markdown:
plugins:
- markdown-it-cjk-breaks
anchors:
[#95]
markdown:
anchors:
case: 0 # Set to 1 to transform anchors to lowercase, 2 for uppercase
separator: '-' # Replace the space with a dash, can be any character