testing list

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
testing list
by on (#106989)
[list=This]does not work[/list]
    [li]in[/li]
    [li]preview[/li]

Does it work in post?
Re: testing list
by on (#106994)
BBCode lists are kinda crappy... This works fine:

    Random list:
  • First item;
  • Second item;

But when you're replying and quoting individual items in the list you get this:

Quote:
[*] First item;

...unless you add a new list tag for each quote. Even though that is in fact the expected behavior, it's still annoying, so I just tend to avoid lists.
Re: testing list
by on (#106995)
It wasn't a question. I figured it out. ;)

Really I was trying to figure out if it worked in a post differently than in preview, and it turned out it didn't. The = after List for ordered list really threw me, because it's not a place to put a parameter!
Re: testing list
by on (#106998)
rainwarrior wrote:
It wasn't a question.

...and my post wasn't an answer, I was just sharing my opinion on BBCode lists, and why I don't use them. :wink:

Quote:
The = after List for ordered list really threw me, because it's not a place to put a parameter!

Yeah, that confused me a bit too.
Re: testing list
by on (#107018)
  • The BBCode element for ordered and unordered lists is called "list"
  • The list element is transformed into an HTML ol or ul element based on its attribute being present or absent
  • Each item in the list is inside a "*" element
  • Like HTML (and unlike XHTML), BBCode has elements whose closing tag is optional in certain circumstances because the element can't directly contain itself
  • For example, the closing tag for the * element is optional
  • To see the BBCode source for this post, click the quote button