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
It seems like the highlight.js backend for our existing react-syntax-highlighter integration isn't tokenizing as deeply as I'd expect. Consequently, the highlighted code is very plain.
In myst-theme, we have to maintain some annoying custom CSS to deal with the way that react-syntax-highlighter works in relation to SSR theme switching. It looks like using shiki would make that easier. Shiki also supports prolog nicely out of the box, perhaps we should close this bug by addressing #1683.
Prolog is a language that traditionally had support in Jupyter Book 1, but does not seem to have support in Jupyter Book 2
Here's a sandbox example showing non-highlighted syntax
References
The text was updated successfully, but these errors were encountered: