Hippo
Hippo
Very nice work with the shiki contribution! Yes, I'd be happy to provide a way for plugins to access token information given that the slowdown isn't as drastic as it...
EC automatically handles overlapping InlineStyleAnnotations for you, so you'd not need to do anything special and not manipulate the existing ones.
Could you please elaborate on why you need to "reconstruct" any tokens? What does that mean and what do you need it for? I'm not saying that creating a similar...
Thank you for explaining the use case! I agree that it might be simpler to make this options of the shiki plugin. This would also allow all transformers that just...
Thank you, I'd welcome the contribution! I hope it's going to be straightforward and won't cause unforeseen type issues etc. when updating Shiki to the latest version. This has sometimes...
Deleting and replacing all lines would also delete the annotations created by all other plugins in any hooks that run before shiki, so this is not a feasible solution. I...
I agree. However, people will certainly try to pass incompatible transformers to this option ("look, there's transformer support!"), so it's good to have some sort of detection in place for...
This feature has just been released to NPM in v0.36.0. Thank you for suggesting it, giving valuable input in our discussions and leading the development effort to bring it to...
Hello and welcome! Would this plugin solve your use case? https://github.com/expressive-code/expressive-code/issues/153#issuecomment-2282218684
Haha, oh my, I would have never expected this side-effect of the feature in ExpressiveCodeBlock that automatically trims leading and trailing lines consisting of only whitespace. I have just checked...