Lists Galore


After a bit of tinkering and much reading of the TWiki source code, I found a good way to implement Wiki-like lists. I also decided to finally toss the nl2br that I had been using in favor of a more useful method of only replacing blank lines with <p/>. All of this will allow me to add extra parsing features which will make my life easier, but might not affect you.

Excuse me while I test:

  • Simple unordered list
  • It is quite easy
  • to create.
  1. Numbered lists
  2. are useful.
    • And I can mix them.
Written by Colin Bate