A nodejs service would be nice, but probably not on the cards in the
near future - note however that the extension does include a simple
method of ensuring that the highlighting module is called for blocks
even if they're inserted into the page after load time such as in Ajax
calls like live preview.
On 23/06/15 12:14, Ori Livneh wrote:
On Tue, Jun 23, 2015 at 7:23 AM, Aran
<aran(a)organicdesign.co.nz> wrote:
Also for those that prefer the client to do the
work I recently made an
extension to use the highlight.js module at
highlightjs.org.
https://www.mediawiki.org/wiki/Extension:HighlightJS
This is very nice, and may be a target for a future migration. It'd be
great if the extension had a server-side implementation as well in the form
of a node.js service that MediaWiki could call.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l