Bob Ippolito
Bob Ippolito
You're writing JS one way or the other, whether it's to create and manage artificial DOM and/or lexical nodes that don't have any semantic meaning or to explicitly handle the...
Closed due to staleness, review feedback not addressed
I have looked into this a little bit, the downsides are: * Shiki is larger since it brings in a wasm build of the oniguruma regex engine (~500kb gzip I...
I didn't find anything better, which was disappointing. Maybe the ideal would be to properly divorce highlighting from the code node model so that either solution (or something bespoke, e.g....
Looks like https://github.com/wooorm/starry-night is a similar project to shiki but AST and class based
Looks like the size concerns with Shiki are being addressed https://github.com/shikijs/shiki/pull/761
Given that everything in prism is global you should be able to add languages by importing them before you import lexical code. Removing them is a bit trickier but you...
For compatibility reasons prismjs is included in the bundle whether you use it or not, unless you configure your bundler to eliminate it accordingly. It has always been possible to...
This kinda seems like something that should be handled by the selection class rather than a command? Since we do have a paragraph in every cell maybe it makes sense...
The chances of this feature being added are very low, but you can maintain your own map of editor keys to unique ids. For example, a module global `WeakMap` where...