Jump to content

Topic on Extension talk:SyntaxHighlight/Flow

I would like to use dracula with SyntaxHightlight

2
Bibble 235 (talkcontribs)

Hi good people

Really really new to MediaWiki, the software.

I want to optional use the pygments style dracula with some of my Syntaxhighlight entries on my wiki

So far I have found the -S option in includes/Pygmentize.php but this of course changes it for all usage of SyntaxHighlight so my next approach was to add a parameter pstyle to SyntaxHighlight and choose when to use it . But I am unclear how to pass something to updateCSS.php

<syntaxhighlight lang="cpp" pstyle="dracula">

int main(int a, char* args[]) {

// Test

  return 0;

}

</syntaxhighlight>

BDavis (WMF) (talkcontribs)
Reply to "I would like to use dracula with SyntaxHightlight"