You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The possible reason is that now each delta in the code block is parsed separately. We need to parse them together while maintaining lazy loading for syntax highlighting.
Hey @Flrande, I believe storing the ruleStack in a state and passing it to the tokenizer could be a viable solution within our current setup. However, it appears that Shiki doesn't currently support that functionality.
PS: Apologies for the premature closure; my phone glitched.
For the following code, the code block highlighting is not as expected.
The possible reason is that now each delta in the code block is parsed separately. We need to parse them together while maintaining lazy loading for syntax highlighting.
blocksuite/packages/blocks/src/code-block/affine-code-line.ts
Lines 50 to 54 in 55a4720
The text was updated successfully, but these errors were encountered: