Lists are broken

Mark Rose's Avatar

Mark Rose

06 Jan, 2012 06:56 PM

I have a list of things.

  1. This is the first item on the list.

It has several paragraphs.

I have a lot to say.

  1. 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.
  1. Oh look, it parsed my regular expression funny. Hmm.

  2. Will these issues be fixed? :-)

  1. 1 Posted by Nicole on 06 Jan, 2012 07:14 PM

    Nicole's Avatar

    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

  2. Nicole closed this discussion on 06 Jan, 2012 07:14 PM.

  3. Mark Rose re-opened this discussion on 06 Jan, 2012 07:20 PM

  4. 2 Posted by Mark Rose on 06 Jan, 2012 07:20 PM

    Mark Rose's Avatar

    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.

  5. Nicole closed this discussion on 09 Jan, 2012 08:46 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac