Grammar regex backtracking fix in Shiki plugin
architecture · hero
Grammar attribute tokenization
token-highlighting
LanguageRegistration → void
docs/content/4.plugins/1.built-in/shiki.md packages/comark/src/plugins/shiki/language-comark.ts packages/comark/test/plugins/shiki-language.test.ts
docs/content/4.plugins/1.built-in/shiki.md packages/comark/src/plugins/shiki/language-comark.ts packages/comark/test/plugins/shiki-language.test.ts
✦
✦
✦
✦
✦
✦
/
What could this change break?
What should I review most carefully?
Drag to select a region · Space to pan · Drop a screenshot
↵
fix(shiki): avoid exponential backtracking in component attributes
comarkdown/comark #523
· 2 diagrams
Start the walkthrough
W
Fit the whole strip
1
Copy share link
Switch to light
Loading comments
Loading screenshots
How to move around
Ask about this canvas
/
Star
100%
Grammar regex backtracking fix in Shiki plugin
Architecture
Grammar attribute tokenization
Data flow
Resume walkthrough
↵
This diagram has a walkthrough
scroll to move through it
swipe to move through it