|
[dokuwiki]
||
[Date Prev]
[04-2008 Date Index]
[Date Next]
||
[Thread Prev]
[04-2008 Thread Index]
[Thread Next]
[dokuwiki] Re: Syntax Highlighting and Lists
- From: Gina Häußge <gina@xxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 06 Apr 2008 22:42:37 +0200
Hi,
Shai wrote:
> I wanted to do something like this:
>
> - first item
> <code>test</code>
> - 2nd item
> - etc. etc.
>
> but then I noticed that the <code> section made the list break and where
> in the 2nd item i expected 2. to appear, it started from 1 again.
>
> How can I fix this?
Use
- first item <code>
codeline1
codeline2
...
</code>
- second item
- etc.
The linebreak gets interpreted as end of the listitem and thus causes
the behaviour you experienced.
HTH
Gina
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|