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
As mentioned in #28 (comment), the tokenization and classes leave some things to be desired.
Would it fit the goals of this project to improve the support of the tokenization? I'm looking at this in terms of implementing more fully-featured themes, such as what I started in #28.
An example is this:
prism-react-renderer with Improved VS Code theme (#28)
VS Code
Would be nice to get a bit closer to VS Code's version (<, = and " punctuation highlighted differently).
Looking more in detail, I see that there are some limitations inherent in Prism, but maybe there could still be some improvements somehow, such as integration of Prism JS Extras: PrismJS/prism#1743
If improving tokenization is not easy or possible without changing Prism, one thing that could be easier to do would be to allow for changing the plain colors by language, so that the CSS plain could be the orange color instead of the light blue (which is more common throughout, which is why I opted to use it).
prism-react-renderer with Improved VS Code theme (#28)
VS Code
The text was updated successfully, but these errors were encountered:
As mentioned in #28 (comment), the tokenization and classes leave some things to be desired.
Would it fit the goals of this project to improve the support of the tokenization? I'm looking at this in terms of implementing more fully-featured themes, such as what I started in #28.
An example is this:
prism-react-renderer with Improved VS Code theme (#28)
VS Code
Would be nice to get a bit closer to VS Code's version (
<
,=
and"
punctuation highlighted differently).Looking more in detail, I see that there are some limitations inherent in Prism, but maybe there could still be some improvements somehow, such as integration of Prism JS Extras: PrismJS/prism#1743
If improving tokenization is not easy or possible without changing Prism, one thing that could be easier to do would be to allow for changing the
plain
colors by language, so that the CSSplain
could be the orange color instead of the light blue (which is more common throughout, which is why I opted to use it).prism-react-renderer with Improved VS Code theme (#28)
VS Code
The text was updated successfully, but these errors were encountered: