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

  • From: Oliver Geisen <oliver.geisen@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 7 Aug 2006 14:45:23 +0200

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         |
+------------------+

or something like that...
The background is, that i often document technologies in different programming-languages on the same page and it sucks to specify the used language each time as heading (or so).



Oliver Geisen _____________________________ Systemadministrator Kreisboten Verlag Mühlfellner KG 82362 Weilheim i. Ob. Tel. 0881/686-904 Fax 0881/686-74


-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: