Skip to content

feat: support unparsed regions in highlightMany - #234

Merged
david-christiansen merged 1 commit into
mainfrom
sfl-local
Aug 21, 2026
Merged

feat: support unparsed regions in highlightMany#234
david-christiansen merged 1 commit into
mainfrom
sfl-local

Conversation

@david-christiansen

Copy link
Copy Markdown
Collaborator

This PR adds an includeUnparsed flag to highlightMany, causing it to respect unparsed regions. This also requires a range to delimit the region in cases where the highlighted code doesn't fill the entire input string.

Gap text is attributed to the syntax that follows it

This PR adds an `includeUnparsed` flag to highlightMany, causing it to
respect unparsed regions. This also requires a range to delimit the
region in cases where the highlighted code doesn't fill the entire
input string.

Gap text is attributed to the syntax that follows it
@david-christiansen
david-christiansen merged commit 1434deb into main Aug 21, 2026
56 checks passed
@david-christiansen
david-christiansen deleted the sfl-local branch August 21, 2026 14:08
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.

1 participant