Skip to content

Releases: rehype-pretty/rehype-pretty-code

rehype-pretty-code@0.14.3

03 Mar 03:44
8c3530f

Choose a tag to compare

Patch Changes

  • Support Shiki 4
  • chore: fix npm OIDC trusted publishing workflow
  • docs: update docs with renamed shiki function: getHighlighter -> createHighlighter

rehype-pretty-code@0.14.1

14 Mar 13:18
eba61cb

Choose a tag to compare

Patch Changes

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

rehype-pretty-code@0.14.0

28 Aug 14:39
59766e6

Choose a tag to compare

Minor Changes

rehype-pretty-code@0.13.2

14 May 06:46
e14f123

Choose a tag to compare

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)

@rehype-pretty/transformers@0.13.2

14 May 06:46
e14f123

Choose a tag to compare

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

29 Mar 01:02

Choose a tag to compare

   🐞 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

08 Feb 03:01

Choose a tag to compare

   🚀 Features

  • Upgrade to shiki v1
npm uninstall shikiji
npm install shiki

   🐞 Bug Fixes

    View changes on GitHub

v0.12.6

22 Jan 16:56

Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.12.5

17 Jan 08:24

Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.12.4

16 Jan 22:30

Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub