hexo-renderer-marked
hexo-renderer-marked copied to clipboard
chore(deps): bump marked from 12.0.2 to 13.0.1
Bumps marked from 12.0.2 to 13.0.1.
Release notes
Sourced from marked's releases.
v13.0.1
13.0.1 (2024-06-24)
Bug Fixes
v13.0.0
13.0.0 (2024-06-12)
Bug Fixes
- Fix blockquote code continuation (#3264) (7ab8185)
- Add parser as a property on the Renderer object (#3291)
- Send block text tokens to the text renderer (#3291)
Features
- Send token objects to renderers (#3291) (1ce59ea)
- Add space renderer that returns empty string by default (#3291)
- Add header and align properties to TableCell token (#3291)
- Add TableRow token (#3291)
- Add Checkbox token (#3291)
BREAKING CHANGES
- Add space token after blockquote and hr if there are multiple newlines
- Send token objects to renderers and move logic to parse tokens from the parser to the renderers.
Most extensions that update marked renderers should still work with this version but will break in a future major version.
Extensions that change marked renderers will need to be updated and use new option
useNewRenderer
and accept a token object instead of multiple parameters. See updated Renderer docs// v12 renderer extension
const extension = { renderer: { heading(text, level) { // increase level by 1 return
<h${level + 1}>${text}</h${level + 1}>
; } } };marked.use(extension);
... (truncated)
Commits
aaee616
chore(release): 13.0.1 [skip ci]520b9ad
fix: fix this type in extension methods (#3339)642c30c
docs: add useNewRenderer note (#3340)fa2ef9d
chore(deps-dev): Bump@typescript-eslint/parser
from 7.12.0 to 7.13.1 (#3333)abb5204
chore(docs): add removed optionsmartLists
(#3332)f751911
chore(deps-dev): Bump@typescript-eslint/eslint-plugin
from 7.12.0 to 7.13.0 ...c9cc3ae
chore(deps-dev): Bump marked-highlight from 2.1.1 to 2.1.2 (#3328)70bb55e
docs: fix docs (#3325)f56ba32
chore(release): 13.0.0 [skip ci]a317d96
chore(deps-dev): Bump braces from 3.0.2 to 3.0.3 (#3322)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)