Releases: hexojs/hexo-renderer-markdown-it
Releases · hexojs/hexo-renderer-markdown-it
v7.1.1
Fixes
- Fixes "alt" tag not showing, when
images
option is used by @benwinding in #210
Dependencies
- chore(deps-dev): bump c8 from 7.14.0 to 8.0.1 by @dependabot in #207
- chore(deps-dev): bump hexo from 6.3.0 to 7.0.0 by @dependabot in #209
New Contributors
- @benwinding made their first contribution in #210
Full Changelog: v7.1.0...7.1.1
v7.1.0
New Features
- feat: support renderInline by @coolzjy in #198
- docs: add
inline
option by @yoshinorin in #202
- docs: add
Fixes
- fix: cannot find installed markdown-it plugin by yarn v3 monorepo by @dimaslanjaka in #199
Dependencies
- chore(devDeps): update
devDependencies
and replacenyc
withc8
by @yoshinorin in #201
Others
- chore: reduce the number of submitted pullrequest from dependabot by @yoshinorin in #203
- chore(ci): update
actions/checkout
andactions/setup-node
by @yoshinorin in #200
New Contributors
- @coolzjy made their first contribution in #198
- @dimaslanjaka made their first contribution in #199
Full Changelog
v7.0.0
Breaking Changes
- chore: require node.js 14+ by @yoshinorin in #187
New Features
- feat: add image options by @renbaoshuo in #188
Dependencies
- chore(deps): bump markdown-it from 12.3.2 to 13.0.1 by @dependabot in #182
- chore(deps): bump hexo-util from 2.7.0 to 3.0.1 by @dependabot in #192
Docs
- docs: delete
npm dependencies
badge from README by @yoshinorin in #186 - chore: add FAQs by @renbaoshuo in #189
Full Changelog: 6.1.0...v7.0.0
6.1.0
Features
Fixes
- fix: clear title cache after rendering of a post by @renbaoshuo in #184
Dependencies
- chore(deps-dev): bump mocha from 9.2.2 to 10.0.0 by @dependabot in #181
New Contributors
- @renbaoshuo made their first contribution in #184
- @Cerallin made their first contribution in #174
Full Changelog: 6.0.1...6.1.0
6.0.1
6.0.0
Breaking Changes
- chore: drop node.js 10.x by @yoshinorin in #168
Performance
- perf(#57): avoid creating instance each time when render each file by @yoshinorin in #135
Docs
- docs: add example of adding custom function to a plugin by @curbengh in #128
- docs(slugize): default separator is a dash by @curbengh in #130
- Move all documentation inside readme by @tomap in #154
Test
Dependencies
- chore(deps): bump markdown-it from 11.0.1 to 12.0.0 by @dependabot-preview in #133
- chore(deps): bump markdown-it-emoji from 1.4.0 to 2.0.0 by @dependabot-preview in #134
- chore(ci): migrate to GitHub Actions from TravisCI by @yoshinorin in #169
- chore(deps-dev): bump hexo from 5.4.0 to 6.0.0 by @dependabot in #166
- chore(deps-dev): bump mocha from 8.4.0 to 9.1.3 by @dependabot in #158
- chore(deps-dev): bump eslint from 7.32.0 to 8.6.0 by @dependabot in #170
- chore(deps-dev): bump eslint-config-hexo from 4.2.0 to 5.0.0 by @dependabot in #172
Miscs
- Clean up tests by @curbengh in #132
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #145
New Contributors
Full Changelog: 5.0.0...6.0.0
5.0.0
Breaking change
- Requires Node 10.13+ [#126]
- Moved preset to a separate config [#122]
- so that other options also can be used, instead of just preset only
# Previous config markdown: 'commonmark' # will be automatically converted to new config markdown: preset: 'commonmark'
- When old config is used,
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.
Features
- feat: 'disableNunjucks' option [#125]
- When enabled, nunjucks tags
{{ }}
/{% %}
(used in tag plugin) will not be processed.
- When enabled, nunjucks tags
- feat: options to enable/disable rules [#123]
- feat: add markdown-it to filter [#121]
- Refer to readme.
4.1.0
Feature
-
permalinkSide
option [#105]. By default, whenpermalink
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
4.0.0
Breaking changes
- We have updated the default config to be consistent with [hexo-renderer-marked] [#90], [#92]
- New defaults:
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: '-'
- Previous defaults (other configs remain the same):
markdown: anchors: permalink: true level: 1 collisionSuffix: 'v' case: 1
- Requires Node 8.6+ [#79]
Features
- Include official markdown-it plugins [#52], [#86], [#87]
- Disabled by default
- Included plugins:
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
- Include [markdown-it-cjk-breaks] plugin [#56]
- To enable:
markdown: plugins: - markdown-it-cjk-breaks
- Add new options to
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