+
Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 22, 2024

This PR contains the following updates:

Package Change Age Confidence
rehype-pretty-code (source) ^0.6.0 -> ^0.14.0 age confidence

Release Notes

rehype-pretty/rehype-pretty-code (rehype-pretty-code)

v0.14.1

Compare Source

Patch Changes
  • fix: use getSingletonHighlighter to avoid deprecated (since v2) Shiki API
  • Support Shiki 3

v0.14.0

Compare Source

Minor Changes
  • Adds an option to bypass inline code blocks

v0.13.2

Compare Source

Patch Changes
    • fix: smarter way to modify rounded in presence of title (#​205)
  • fix: prevent start line numbers being highlighted (#​181)
  • feat: introduce new package @rehype-pretty/transformers. Release the first transformer: @rehype-pretty/transformers/copy-button (see example usage)

v0.13.1

Compare Source

   🐞 Bug Fixes
  • Cache highlighter based on theme  -  by @​atomiks in #​187 (50e9a). Fixes memory issues when 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
  • Upgrade to shiki v1
npm uninstall shikiji
npm install shiki
   🐞 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
    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
  • More semantic generated HTML.
  • [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.
  • Highlighted chars are now wrapped in <mark>.
  • Client-side usage works out of the box, with smaller size.
  • Multiple themes now renders a single block and uses CSS variables to change colors. data-theme has a space-separated list of the actual theme names, instead of the color mode.
  • Inline code highlighting can now be escaped.
    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
    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

  • Default theme is github-dark-dimmed, not Shiki’s default of nord.
  • .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 the onVisitLine callback hook.
  • keepBackground is now true by default.
  • onVisitHighlightedWord is now onVisitHighlightedChars.

Features

  • Highlighted lines now have data-highlighted-line attribute by default.
  • Highlighted chars now have data-highlighted-chars attribute by default.
  • Highlighted chars with id now have data-chars-id attribute by default.
  • onVisitTitle and onVisitCaption 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
  • Set up release process
  • Convert to TS
    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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Sep 22, 2024

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
shadcn-registry-starter Ignored Ignored Preview Sep 26, 2025 11:47pm

@renovate renovate bot force-pushed the renovate/rehype-pretty-code-0.x branch from 41ba608 to e967f29 Compare August 13, 2025 23:54
@renovate renovate bot force-pushed the renovate/rehype-pretty-code-0.x branch from e967f29 to a694000 Compare September 26, 2025 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载