It's better when it's simple

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:geshi [2013-12-10 12:30] [Syntax highlighting by Geshi]
devel:geshi [2013-12-10 12:31] [Example usage]
Line 10: Line 10:
 <code php> <code php>
-$code = '​...syntax to higlight...';​+$code = '... syntax to higlight ...';
 $geshi = new GeSHi($code,​ $language, DOKU_INC . '​inc/​geshi'​);​ $geshi = new GeSHi($code,​ $language, DOKU_INC . '​inc/​geshi'​);​
 $geshi->​set_encoding('​utf-8'​);​ $geshi->​set_encoding('​utf-8'​);​
devel/geshi.txt ยท Last modified: 2013-12-10 12:31 by