core icon indicating copy to clipboard operation
core copied to clipboard

[FEATURE] Consider supporting prismjs language syntax rules

Open markg85 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. While this library is neat and fast, it has highlighting issues. Why re-invent the highlight rules when there's other projects out there that have already solved it.

Describe the solution you'd like I think it makes sense to at least also support the well-established prismjs language files. It does require speed-highlight to adapt to their format. But given that you'd re-use their format + gain support for all the languages they have it might be a worthwile consideration?

Describe alternatives you've considered I did use prismjs. Moved to this library because it's still maintained, fast and i like it's themes better :)

markg85 avatar May 24 '24 15:05 markg85