|
PITS /
00194Summary: Code samples break numbered lists
Created: 2004-12-01 03:25
Status: Suspended
Category: Bug
Assigned:
Priority: 3
Version:
OS:
Description: If I have some documentation like:
ssh servername -u username
ls -l The numbering breaks :/ --- This is not a bug -- at present PmWiki has always worked this way (somewhat by design), that pre-formatted text is a top-level formatting item at the same level as a first-level bullet and always starts from the left margin. For most lists this doesn't matter, but for numbered lists it's a pain because HTML then restarts the numbering at 1. We should be able to come up with an option that allows this to be configured differently, so that preformatted text sections are nested inside of any surrounding list elements. Markup to mark the start (and end?) of a numbered list would be good. Maybe #- to mark the end of a list? This is a very annoying bug for me since I want to include warnings in procedures and there is no easy way to do so. Warnings, tips, code blocks all break the numbering of my lists. Is there any easy to implement workaround out there?
Why don't you try this. --Petko March 12, 2007, at 03:14 AM |