Syntax Highlighting in Dokuwiki

Dokuwiki can use different colors to display code on its pages.

You use the <code ruby></code> tags to do this. You can specify other languages besides ruby (But why? :)). See here for more details: http://wiki.splitbrain.org/wiki:syntax#syntax_highlighting

Dokuwiki uses something called Geshi to parse the code and display certain keywords differently.

How to Customize

It appears from this link that you can navigate to styles.css and find classes at the end of the file, which specify how the syntax is colored, highlighted etc, for each language? FIXME

The Geshi instructions are here, except that the link from above has some posts which state that Dokuwiki overrides these specifications.

See Also: http://qbnz.com/highlighter/geshi-doc.html#changing-styles

See Also

PageDescriptionTags
Allowing File Types in Dokuwiki If you want to allow other file types to be uploaded onto your Dokuwiki site, check here: <http://wiki.splitbrain.org/wiki:mime?rev=1193351002> You should che…
Dokuwiki dokuwiki keyboard * <http://wiki.splitbrain.org/wiki:update_check> Put ?do=check at the end of your dokuwiki URL. Example: <http://www.notesmine.com/?do=… ,
Dokuwiki Cloud Plugin Dokuwiki Cloud shows a “cloud” of frequently used words on your site From <http://www.wikidesign.ch/en/plugin/cloud/start> You can exclude words from the … ,
Dokuwiki Cloud Stopwords The following words are what I use as my /conf/stopwords.txt file for use by the cloud plugin on dokuwiki. This might help other users of the cloud plugin. Ju… ,
Dokuwiki Delicious Plugin I would like to have a page on my Dokuwiki about Perl. I would also like this page to display all my Delicious bookmarks that are tagged with Perl. I'm trying… , ,
Dokuwiki Keyboard Shortcuts I'm so glad I found keyboard shortcuts for dokuwiki. See <http://wiki.splitbrain.org/wiki:accesskeys> Keys are different on Mac/PC. * On PC/Firefox 2, use…
Dokuwiki Pagelist Plugin This dokuwiki plugin allows you to list pages which match certain criteria. I use it to list pages which have certain dokuwiki tags. Show pages tagged with do… , ,
Dokuwiki Tags <http://www.wikidesign.ch/en/plugin/tag/start> You can categorize pages in Dokuwiki using tags. A “tag” is just a word that you assign to a page, to descr… , , , ,
Dokuwiki Templates <http://www.dokuwiki.org/namespace_templates> Notesmine External dokuwiki
Dokuwiki Todo * Set up a favicon * Try IndexMenu plugin. * <http://wiki.splitbrain.org/plugin:indexmenu> * Can show namespaces, all pages, etc. Try these template… ,
Syntax Highlighting in Dokuwiki Dokuwiki can use different colors to display code on its pages. You use the <code ruby></code> tags to do this. You can specify other languages besides ruby (… , ,
 
dokuwiki_syntax_highlighting.txt · Last modified: 2007/11/09 15_01 by tookelso
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki