Michael Moore

Results 25 comments of Michael Moore

@antfu sure thing! But can you take a look at #736 first? The plug-in needs some info from includeExplanation, and #736 could improve the slowdown from ~5x to ~2x. I'd...

@antfu this should be part of the @shiki/transformers package, or a separate package? It seems a bit larger/more complicated than the transformers in @shiki/transformers, but not nearly as complicated as...

Delayed but not forgotten :)

I forgot I ran into this when I first worked on https://github.com/MichaelMakesGames/shiki-colorized-brackets. As a quick fix, I just cast the type, and that made it's way to this repo when...

Beyond `includeExplanation`, should CodeToHastOptions extend CodeToTokensOptions? Looking at the implementation of codeToHast, it passes in it's options to codeToTokens https://github.com/shikijs/shiki/blob/b28cf13ca311bb83667bad02dd652035b37bf409/packages/core/src/highlight/code-to-hast.ts#L47 so really any of those CodeToTokensOptions could be set on...