Topic on Extension talk:Highlightjs Integration

Nicolas senechal (talkcontribs)

Hello,

I try to get it for the vb language, so I try to follow this part so I get vb.net and I replace highlight old folders and change the extension.json thing (like in the this).

I use a black theme so it's easy to know when it's working...

But he didn’t work if I just put <syntaxhighlight lang=""> I don't have any colour (but I have my black theme), so maybe I miss something because for C# it works with the lang specific and without.

Maybe because I get itowd from Getting highlight.js (highlightjs.org) in version 11.4.

Any help is appreciated.

NikusPokus (talkcontribs)

Hello, Does it work if you specify the language? If yes, it seems to be the detection of the language which can't find out which language it is from the code you want to highlight. So test with a bigger code to highlight. If it still doesn't work, there is a problem with the language detection and you have force it. Other question: was it working without upgrading highlight.js?

Nicolas senechal (talkcontribs)

Thank you and sorry for your time, I resolved it.

So the detection of language worked but not for vb.

To resolve this I simply follow carefully this part and then it worked.

I can't remember my error so thank you again for taking your time !

Reply to "Error vb language"