Skip to content
Snippets Groups Projects
Commit 750fd6a8 authored by Christopher Smith's avatar Christopher Smith
Browse files

make custom geshi language styles possible

darcs-hash:20050712211236-3bbbb-c0e76063136eb78886cb1daf4d5e9785bb797ab1.gz
parent 034138e2
No related branches found
No related tags found
No related merge requests found
...@@ -349,7 +349,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { ...@@ -349,7 +349,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$geshi->set_encoding('utf-8'); $geshi->set_encoding('utf-8');
$geshi->enable_classes(); $geshi->enable_classes();
$geshi->set_header_type(GESHI_HEADER_PRE); $geshi->set_header_type(GESHI_HEADER_PRE);
$geshi->set_overall_class('code'); $geshi->set_overall_class("code $language");
$geshi->set_link_target($conf['target']['extern']); $geshi->set_link_target($conf['target']['extern']);
$text = $geshi->parse_code(); $text = $geshi->parse_code();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment