Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [08-2006 Date Index] [Date Next] || [Thread Prev] [08-2006 Thread Index] [Thread Next]

[dokuwiki] Re: automatic syntax-tag when using <code ...> ?

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 07 Aug 2006 14:14:09 +0100
Oliver Geisen wrote:
Hello,

is there a way to show the used syntax from an <code>-block in the resulting wikipage ?

For example, if one writes:

<code bash>
hostname
</code>

It should result in:

+-[bash]-----------+
| hostname         |
+------------------+

Basically no.

If you use the code plugin you can add one line at line 84

if (!$title) $title = $lang;   (or  $title = "[$lang]")

And get what you are after.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.