Topic on Project:Support desk

Writing my own syntax highlighting

2
Barney97 (talkcontribs)

Hi!

I'm currently working on a Wiki about the computer algebra software CoCoA and want to include code in the Wiki. The problem is that this language is not supported yet by the Extension:SyntaxHighlight.

Is there any way to create a custom syntax highlighting only using CSS, HTML and JS? Just a simple way to highlight chosen keywords would be great.

MarkAHershberger (talkcontribs)

I don't know about a way to do it with CSS, HTML and JS, but you could talk to the maintainers of Pygments or read the documentation there to see how to get SyntaxHighlight working for CoCoA.

Reply to "Writing my own syntax highlighting"