Thread Starter
sofho
(@sofho)
Thank you for the quick reply.
Syntax-hightlightning is already on – and it works when using the default themes “ChatGPT” and “Messages (iOS)”. It also partially works for my custom theme, as a few words are getting highligted (in my case the “document”-word of a javascript example).
But the default plugins seem to have extra classes added through javasript, most likely via the highlight-script, that I’m not getting on a custom theme.
In the console i get a set of errors (see my comment above), which seems to confirm that there is an issue classes.
It looks like the “no theme” option is missing a class for the highlight-syntax to run correcly, but I’m having a hard time determining what this class is and how I should add it through my custom theme.
Thread Starter
sofho
(@sofho)
Ah. It looks like highlight.js has issues on my custom theme. I’m getting some “Could not find class for hljs-title”-errors (along with similar errors for “keyword” and “string”) in the console.
Still investigating.