Hi,

The first <div> is fine, but the second <div> should be a </div>

On Monday, August 16, 2021 at 12:03:18 AM UTC-3 [email protected] wrote:

> @Eric Shulman
> I appreciate your attempt to to show me a fix, I do. But as demonstrated 
> below, it doesn't work. It created an oddity of issues (I am using 5.1.23 
> and CamelCase is off.)
> My original tiddler is at the bottom showing the formatting that I used 
> that did work.
>
> Duplicating the code you've shown results in the mess below. All the lines 
> on the second bullet run together and the third bullet point is treated as 
> a second level bullet to the 2nd bullet.
> [image: tiddly1.jpg]
>
> I fixed the issue with the paragraphs running together but it doesn't 
> resolve the issue with the 3rd bullet being shown as a secondary level as 
> previously described.
> [image: tiddly2.jpg]
>  
> My attempt to correct the third bullet problem remains unresolved. 
> [image: tiddly3.jpg]
>
> This is a snapshot of the original tiddler I was working on and what ended 
> up working for me. On another note, none of the @@ codes worked either even 
> when directly copied from the example. So I ended up using the built in 
> 'highlighting' instead. Inline CSS didn't work when used with the <div>, 
> <span> or <p> tags and I'd spent enough time as it was to get it looking as 
> I wanted. 
> [image: originalTiddler.jpg]
> And another with line numbering and a code block.
> [image: tiddlerNumberingList.jpg]
>
> I'm not adverse at all if someone wishes to correct me and provide a 
> working example on their end, and if it doesn't work on my end,  I'll turn 
> to disabling any plugins installed after the TW5 file was installed and 
> take a look at what plugin I had to disable for it to work as they've shown 
> me. I don't have many. I try to load only those I need on my collection of 
> TW5 files for other purposes.
>
> Thoughts? Corrections? I'm open to constructive criticism. 
>
> On Friday, August 13, 2021 at 8:22:36 PM UTC-4 Eric Shulman wrote:
>
>> On Friday, August 13, 2021 at 3:17:28 PM UTC-7 [email protected] wrote:
>>
>>> Although this is an old thread,
>>
>>
>> As you note, this is an old thread (over 6 years old!).
>>
>> *A general solution has long ago been documented* here:
>>     https://tiddlywiki.com/#Lists%20in%20WikiText 
>> Scroll down to the end of the tiddler and you will see a heading
>> labeled "Paragraphs in Lists", which describes enclosing the
>> desired content within a <div>...</div>, like this:
>>
>> # Step 1
>> # Step 2
>> # Step 3<div>
>>
>> Here is the first of several paragraphs. Note that the double linebreak 
>> preceding this paragraph is significant.
>>
>> And here is the second of several paragraphs.
>> </div>
>> # Step 4
>> # Step 5
>> # Step 6
>>
>> Note that this technique will work with ANY pair of matching HTML tags.  
>> *You 
>> can even use made up tags, like <foo>...</foo>*.  The key points are 
>> these:
>>
>>    - *the opening tag is placed at the end of the first line that starts 
>>    the the bullet item*
>>    - *there is a double linebreak following that opening tag.*
>>
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eeedc59c-edaf-4693-9101-b84d8dae2492n%40googlegroups.com.

Reply via email to