[Gambas-user] Syntax highlighting in the wiki

Yahoo olivier.cruilles at ...614...
Mon Mar 21 13:20:38 CET 2016


Great Benoit.

Email: olivier.cruilles at ...614...

> Le 21 mars 2016 à 02:53, Benoît Minisini <gambas at ...1...> a écrit :
> 
> 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
> 
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list