Invenzzia »

Syntax highlighting

From Invenzzia wiki

Jump to: navigation, search

TypeFriendly Markdown syntax supports the syntax highlighting of the source code. You can easily higlight the code by placing the name of the language at the beginning of the code block in the square brackets:

Plain text.
 
~~~~
[php]
<?php echo 'PHP code' ?>
~~~~
 
Plain text.

TypeFriendly uses GeSHi for syntax higlightging and you can use all the languages supported by this library.

Personal tools