Skip to content

Commit b878d09

Browse files
[ci] release (#277)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7a0d191 commit b878d09

4 files changed

Lines changed: 12 additions & 15 deletions

File tree

.changeset/fair-ads-begin.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lucky-clocks-thank.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# rehype-pretty-code
22

3+
## 0.14.5
4+
5+
### Patch Changes
6+
7+
- fix: detect `showLineNumbers` wherever it appears in the meta string, not only before the highlight annotations, while ignoring the word when it is part of a character highlight such as `/foo showLineNumbers bar/` (#204)
8+
- fix: stop character-highlight ranges leaking across patterns, so an id-only annotation like `/foo/#a` no longer makes a later pattern inherit the previous pattern's range, and a range-ignored occurrence no longer consumes the whole token it lives in (#169)
9+
10+
Range-excluded occurrences are counted without changing the token tree, so unhighlighted markup remains intact.
11+
12+
Partial highlights contained within a transformer-generated element preserve that surrounding semantic element instead of cloning it.
13+
314
## 0.14.4
415

516
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rehype-pretty-code",
3-
"version": "0.14.4",
3+
"version": "0.14.5",
44
"description": "Beautiful code for your MD/MDX docs.",
55
"homepage": "https://rehype-pretty.pages.dev",
66
"type": "module",

0 commit comments

Comments
 (0)