Mailing List Archive

Syntax Highlighter that does not shell out?
Hi Everyone,

I'm looking for a Syntax Highlighter for MW 1.35. The rub is, the
extension cannot shell out like the current Syntax Highlighter.[1] Our
wiki disables nearly all of those kinds of functions.

[1] https://www.mediawiki.org/wiki/Extension:SyntaxHighlight

Rather, the extension needs to have (or install via Composer), a
Python or PHP compatible library for its use. (Is this considered
"native" in the web world?)

Would someone recommend a Syntax Highlighter that uses PHP libraries
and does not shell out, please?

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: Syntax Highlighter that does not shell out? [ In reply to ]
If a JavaScript based solution would fit the bill googling "JavaScript
syntax highlighter" turns up several options.

Den tis 13 apr. 2021 03:51Jeffrey Walton <noloader@gmail.com> skrev:

> Hi Everyone,
>
> I'm looking for a Syntax Highlighter for MW 1.35. The rub is, the
> extension cannot shell out like the current Syntax Highlighter.[1] Our
> wiki disables nearly all of those kinds of functions.
>
> [1] https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
>
> Rather, the extension needs to have (or install via Composer), a
> Python or PHP compatible library for its use. (Is this considered
> "native" in the web world?)
>
> Would someone recommend a Syntax Highlighter that uses PHP libraries
> and does not shell out, please?
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>