Jump to content

Topic on Extension talk:Highlightjs Integration

Scott216 (talkcontribs)

I installed this extension (v1.2). I'm running MediaWiki v1.32 on a shared linux computer (SiteGround), PHP 7.0.33. The code highlighting works, but the background is black instead of light gray.

Scott216 (talkcontribs)

I fixed it by changing the style to vs.css in extension.json. I assumed the default look would be similar to what is shown in the description.

Nicole Sharp (talkcontribs)

Yes, using default.min.css (for HighlightJS 10) fits in better with the MediaWiki Vector default style, but the dark background from railcasts.min.css is admittedly a bit easier to read. Haven't decided on a favorite HighlightJS style yet but you can browse through the style options on the HighlightJS demo site. Nicole Sharp (talk) 13:58, 27 March 2021 (UTC)

Reply to "Background is black"