Skip to content

Update packages/rehype-shiki/src/highlighter.mjs

ca998e8
Select commit
Loading
Failed to load commit list.
Merged

chore(shiki): only send required langs to client, and support more on server #7787

Update packages/rehype-shiki/src/highlighter.mjs
ca998e8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded May 31, 2025 in 0s

85.71% of diff hit (target 75.35%)

View this Pull Request on Codecov

85.71% of diff hit (target 75.35%)

Annotations

Check warning on line 5 in packages/rehype-shiki/src/index.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/rehype-shiki/src/index.mjs#L4-L5

Added lines #L4 - L5 were not covered by tests

Check warning on line 14 in packages/rehype-shiki/src/index.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/rehype-shiki/src/index.mjs#L10-L14

Added lines #L10 - L14 were not covered by tests

Check warning on line 16 in packages/rehype-shiki/src/index.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/rehype-shiki/src/index.mjs#L16

Added line #L16 was not covered by tests

Check warning on line 41 in packages/rehype-shiki/src/index.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/rehype-shiki/src/index.mjs#L18-L41

Added lines #L18 - L41 were not covered by tests

Check warning on line 43 in packages/rehype-shiki/src/index.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/rehype-shiki/src/index.mjs#L43

Added line #L43 was not covered by tests