[Gambas-user] Syntax highlighting in the wiki
Benoît Minisini
gambas at ...1...
Mon Mar 21 07:53:59 CET 2016
Hi guys,
You now have syntax highlighting in the wiki!
This is a reimplementation of Tobias' idea, but it is automatically
handled by the gb.markdown component.
To highlight any piece of code, put it between
[[ code <language>
...
]]
<language> being a language or a syntax supported by the
gb.eval.highlight component: gambas, c, c++, javascript, css, html, sql,
diff, webpage (the gambas' ones).
If you need more highlighters, you have to write it and add it to the
gb.eval.highlight component.
Enjoy!
--
Benoît Minisini
More information about the User
mailing list