Closed jorgemoralespou closed 7 years ago
The kiosk uses https://github.com/google/code-prettify/
Asciidoctor has support for highlightjs, 13d1b730aaee6de341773d1005975423596bef93 enables syntax highlighting on Asciidoctor, adds highlightjs to the project, but does not enable syntax highlighting. But the content needs to be fixed before enabling syntax highlighting, as we e.g. use source code block for quoted blocks and that makes mess.
Documentation: http://asciidoctor.org/docs/user-manual/#source-code-blocks
Fixed in the ruby branch, will be available once merged.
As we're using asciidoc, it should be possible to display code with rendering colours.
Example: