DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:geshi

Differences

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]
109.195.194.200 [Syntax highlighting by Geshi]
devel:geshi [2013-12-10 12:31] (current)
109.195.194.200 [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.1386675018.txt.gz ยท Last modified: 2013-12-10 12:30 by 109.195.194.200