chore(deps): update dependency rehype-pretty-code to ^0.14.0 #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.6.0
->^0.14.0
Release Notes
rehype-pretty/rehype-pretty-code (rehype-pretty-code)
v0.14.1
Compare Source
Patch Changes
getSingletonHighlighter
to avoid deprecated (since v2) Shiki APIv0.14.0
Compare Source
Minor Changes
v0.13.2
Compare Source
Patch Changes
@rehype-pretty/transformers
. Release the first transformer:@rehype-pretty/transformers/copy-button
(see example usage)v0.13.1
Compare Source
🐞 Bug Fixes
rehypePrettyCode
plugin is invoked multiple times and the options object is not a static reference.View changes on GitHub
v0.13.0
Compare Source
🚀 Features
shiki
v1🐞 Bug Fixes
View changes on GitHub
v0.12.6
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v0.12.5
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.12.4
Compare Source
🐞 Bug Fixes
grid: true
- by @atomiks in atomiks#158 (20159)math
lang - by @atomiks in atomiks#159 (ab71a)View changes on GitHub
v0.12.3
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.12.2
Compare Source
🚀 Features
View changes on GitHub
v0.12.1
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v0.12.0
Compare Source
🚀 Features
Migrate to Shikiji - by @atomiks and Dimitri POSTOLOV in atomiks#109 (b6823)
npm i rehype-pretty-code@latest shikiji@0.7.x && npm uninstall shiki
[data-rehype-pretty-code-fragment]
is now a<figure>
element ([data-rehype-pretty-code-figure]
), and the title or caption is inside a<figcaption>
element.<mark>
.data-theme
has a space-separated list of the actual theme names, instead of the color mode.View changes on GitHub
v0.11.0
Compare Source
🐞 Bug Fixes
Upgrades to
unified@11
View changes on GitHub
v0.10.2
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.10.1
Compare Source
🚀 Features
🐞 Bug Fixes
display: grid;
incode
element - by @GoodbyeNJN in atomiks#105 (d5ca9)View changes on GitHub
v0.10.0
Compare Source
This release adds better defaults so you don’t need to specify any options or callback hooks.
Breaking Changes
github-dark-dimmed
, not Shiki’s default ofnord
..line
class selector has been replaced with[data-line]
.grid: true
option has been added to prevent lines from collapsing by default with code blocks, allowing you to remove theonVisitLine
callback hook.keepBackground
is nowtrue
by default.onVisitHighlightedWord
is nowonVisitHighlightedChars
.Features
data-highlighted-line
attribute by default.data-highlighted-chars
attribute by default.data-chars-id
attribute by default.onVisitTitle
andonVisitCaption
visitor hooks have been added.View changes on GitHub
v0.9.11
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.9.10
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.9.9
Compare Source
🚀 Features
View changes on GitHub
v0.9.8
Compare Source
v0.9.7
Compare Source
v0.9.6
Compare Source
v0.9.5
Compare Source
v0.9.4
Compare Source
v0.9.3
Compare Source
v0.9.2
Compare Source
v0.9.1
Compare Source
v0.9.0
Compare Source
v0.8.1
Compare Source
v0.8.0
Compare Source
v0.7.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.