I have a list of things.
- This is the first item on the list.
It has several paragraphs.
I have a lot to say.
- This is the second item on the list. Note that I started it with "2."
Lighthouse correctly determines it's a list.
But it starts the count over at 1. -- ignoring I specifically typed 2. It should restart only when I use 1. again.
The fact it detected the 2 AND rewrote it to start a new list implies there's some intelligence beyond a simple 's/[0-9]+.(.*)/
- \1<\/li>/'-like regular expression replacement.
-
Oh look, it parsed my regular expression funny. Hmm.
-
Will these issues be fixed? :-)
#1 Posted by Nicole on 06 Jan, 2012 07:14 PM
Mark -
The linebreaks are cause the issue. If you remove those, the numbers work as expected. You'll notice you get the same results if you use the Markdown Dingus - http://daringfireball.net/projects/markdown/dingus - if you put the exact content of your post into the dingus and preview.
Thanks,
Nicole
Nicole closed this discussion on 06 Jan, 2012 07:14 PM.
Mark Rose re-opened this discussion on 06 Jan, 2012 07:20 PM
#2 Posted by Mark Rose on 06 Jan, 2012 07:20 PM
Well line breaks are needed for paragraphs, no?
Though looking at that, I found the solution: manually indenting the following lines. I'll leave this as a note for anyone else who comes across this issue.
Nicole closed this discussion on 09 Jan, 2012 08:46 PM.