Thank you Eric. And <p>...</p> does work too. Nice trick!

Le lundi 28 juin 2021 à 14:20:53 UTC+2, David Gifford a écrit :

> A span works just as well. Blessings.
>
> On Monday, June 28, 2021 at 7:02:21 AM UTC-5 Eric Shulman wrote:
>
>> On Monday, June 28, 2021 at 4:49:46 AM UTC-7 jn.pierr...@gmail.com wrote:
>>
>>> I've got a perfectly all right tiddler content with something like an 
>>> ordered list in wiki syntax.
>>> Then I've decided to have that part within a html details markup. The 
>>> problem is, the wiki syntax is no more producing a list.
>>>
>>
>> The <details> element seems to be "eating" the newline that is required 
>> to precede the wikitext ordered list syntax.
>> To work around this, wrap your ordered list within a <div>...</div> 
>> element, like this:
>>
>> <details>
>> <summary>fubaring</summary>
>> <div>
>>
>> # foo
>> # bar
>> </div>
>> </details> 
>>
>> Note that the newline preceding the first # item is necessary to ensure 
>> "block mode" parsing of the ordered list.
>>
>> enjoy,
>> -e
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74dfc343-e1fe-4436-8096-8c9edf03cf44n%40googlegroups.com.

Reply via email to