Hi all,
A colleague just asked me something that has puzzled me in the past, so I thought I'd ask the list. Is it possible to add block-level elements (e.g. paragraphs) within a list item using SPIP's text syntax?
In Markdown, for example, I'd write this:
==== markdown ====
1. A list item
2. A list item
With paragraphs in it.
3. Another
==== /markdown ====
And get:
==== html ====
<ol>
<li><p>An item in a numbered list</p></li>
<li><p>Another item in a numbered list.</p>
<p>This time, with multiple paragraphs.</p></li>
<li><p>Another thing</p></li>
</ol>
==== /html ====
But I can't figure out if and how this can be done in SPIP and have had to resort to using line breaks, a clearly inferior "solution".
If it is not possible, I think the lack is a bug. This is something that is reasonably widely used (legal documents like terms and conditions and disclaimers often have multiple paragraphs in list items) and it ought to be possible using SPIP's typographical shortcuts.
Thanks,
Thomas Sutton
Web Developer
bouncingorange
graphic + web design