mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): add shiki notation transformers (#937)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
62a8c389e1
commit
2c2610f168
@@ -0,0 +1,12 @@
|
||||
import {
|
||||
transformerNotationDiff,
|
||||
transformerNotationFocus,
|
||||
transformerNotationWordHighlight,
|
||||
} from '@shikijs/transformers';
|
||||
import type { ShikiTransformer } from 'shiki';
|
||||
|
||||
export const shikiNotationTransformers: ShikiTransformer[] = [
|
||||
transformerNotationDiff({ matchAlgorithm: 'v3' }),
|
||||
transformerNotationFocus({ matchAlgorithm: 'v3' }),
|
||||
transformerNotationWordHighlight({ matchAlgorithm: 'v3' }),
|
||||
];
|
||||
Reference in New Issue
Block a user