Deron, you’ve had a lot of list issues. If you’re doing a very simple list and still having issues, you may want to try another technical support post. Reference your previous issues, if you don’t mind.
Markdown. Others use Textile and like it too. With this one can just do something like:
* list item 1
* list item 2
1. item 1
2. item 2
and get proper lists.
In any case, if you put your HTML into each entry then you won’t have the benefit of separation. Letting ExpressionEngine handle it makes the data more easier to manage if you change your mind down the line. Plus, it makes it so much easier to enter now - if I had to format all my articles, I don’t think I’d ever post.
Yeah, you’re definitely right! I’ve had my share of issues with lists over the last year. 😊 It’s not a huge deal right now. I’ll leave it until I change the design. It’s probably just the way I’m using the lists inside of an xhtml formatted field. See below…
I think I’ll give Markdown a look see and see if it makes any sense to me. I’ve looked at Textile before and honestly, it makes no sense to me at all.
You’re right though, simply going through and using * for your list items would be much easier than the way I have been doing it. Going forward, if I use that method, I’ll need to go back and redo everything I’ve done since my blog started, but I think that would make everything easier going forward. How do you typically create heading tags in your posts? Simply write out <h2> or is there Markdown code for that as well?
Also, if the field is set for XHTML parsing, do not allow for spaces in your list items, same with tables. Simple have the list look like
<ul><li>item 1</li><li>Item 2</li><li>Item 3</li></ul>
I find that’s easier than turning XHTML off for the body.
Ah, I didn’t know that. See, when I have a list inside of a post, I format it just like you normally would:
<ul>
<li>list item</li>
<li>list item</li>
</ul>
And it ends up placing
tags after each <ul> and <li> in the list as well as some other things like the tags I mentioned earlier.