Releases: hexojs/hexo-renderer-marked
Releases · hexojs/hexo-renderer-marked
v6.3.0
New Features
- Added filter marked:use for direct access to the marked.use function by @crycode-de in #273
Fixed
- fix: figcaption only works within figure by @stevenjoezhang in #279
Dependencies
- chore(deps): update
devDependencies
as possible by @yoshinorin in #274
Misc
- chore: update
repository
key from a string to an object inpackage.json
by @yoshinorin in #275 - chore: excludes lock files from git by @yoshinorin in #276
New Contributors
- @crycode-de made their first contribution in #273
Full Changelog: v6.2.0...v6.3.0
v6.2.0
v6.1.1
Fixes
- Issue #228, #229:
 
Display error- chore(deps): bump
hexo-util
from3.0.1
to3.1.0
by @yoshinorin in #258
- chore(deps): bump
- fix: use unescaped heading text by @stevenjoezhang in #260
Dependencies
- chore(deps-dev): bump c8 from 7.14.0 to 8.0.0 by @dependabot in #256
Full Changelog: v6.1.0...v6.1.1
v6.1.0
Fixes
  Display error
#229-
- chore(deps): update dependencies by @yoshinorin in #247
-
Dependencies
- chore(deps): update dependencies by @yoshinorin in #247
- chore(deps): bump hexo-util from 2.7.0 to 3.0.1 by @dependabot in #238
CI
- chore(ci): reduce dependabot pull request by @yoshinorin in #248
Docs
- dosc:
http
tohttps
and useexample.com
for example domains by @yoshinorin in #249
Full Changelog
v6.0.0
Breaking Changes
- chore: require node14+ by @yoshinorin in #234
New Features
Dependencies
- chore(deps): update deps & replace
nyc
withc8
by @yoshinorin in #235 - chore(deps-dev): bump mocha from 9.2.2 to 10.0.0 by @dependabot in #226
- chore(deps): bump jsdom from 19.0.0 to 20.0.1 by @dependabot in #233
Docs
New Contributors
Full Changelog: 5.0.0...v6.0.0
5.0.0
Breaking Changes
Refactor
- refactor: call parent class url tokenizer method by @yoshinorin in #218
Dependencies
- chore(deps): bump marked from 2.1.3 to 3.0.4 by @dependabot in #208
- chore(deps): bump marked from 3.0.8 to 4.0.1 by @dependabot in #214
- chore(deps): bump jsdom from 16.7.0 to 17.0.0 by @dependabot in #199
- chore(deps): bump jsdom from 17.0.0 to 18.0.0 by @dependabot in #212
- chore(deps): bump jsdom from 18.1.1 to 19.0.0 by @dependabot in #215
- chore(deps-dev): bump eslint from 7.32.0 to 8.0.0 by @dependabot in #211
- chore(deps-dev): bump hexo from 5.4.0 to 6.0.0 by @dependabot in #217
- chore(deps-dev): bump eslint-config-hexo from 4.2.0 to 5.0.0 by @dependabot in #219
Docs
Full Changelog: v4.1.0...5.0.0
v4.1.0
v4.0.0
Breaking Changes
- bump marked from 1.2.9 to 2.0.0 (#183)
em
andstrong
tokenizers have been merged into oneemStrong
tokenizer- Please see marked v2.0.0 release note
Feature
- feat: add descriptionLists options (#179) @SukkaW
- Enable support for description lists syntax.
- Currently description lists syntax is not in neither CommonMark or GFM,
hexo-renderer-marked
only provides the option for backward compatibility. - By disabling the
descriptionLists
, markdown rendering performance will be improved by a lot.
- Currently description lists syntax is not in neither CommonMark or GFM,
- Enable support for description lists syntax.
Docs
Misc
3.3.0
3.2.0
Features
- feat: mangle option [#164]
- a built-in option of marked
- only useful against a basic crawler used by spam bot.
- feat: disableNunjucks option [#166]
- enable this option to disable processing of Nunjucks tag
{{ }}
{% %}
, particularly useful if you're not going to use tag plugins.
- enable this option to disable processing of Nunjucks tag
- feat: extend filter to tokenizer [#165]
- It's now possible to customize the tokenizer.
- Refer to this section for example.
- feat: 'quotes' option to override smartypants [#161]
- it's now possible to specify the quote symbols to replace.
- e.g.
quotes: '«»“”'
Fixes
- fix: handle invalid URL [#163]
- invalid URL like
http://localhost:4000lorem
is no longer encoded.
- invalid URL like
- fix: autolink option should not apply on markdown syntax [#162]
autolink:
no longer affects<http://example.com>
.- on another note, marked renderer doesn't detect
example.com
, if a link doesn't starts with protocol (e.g.http://
), a link must starts with www to be detected (for autolink).