Cd.K That would be greatly appreciated

Though the ":" rule uses <dl> <dd> and <dt> tags and I think the best for a 
"." rule would be wrap each "Paragraph"

.Line or paragraph

at render in 
<p class="period-paragraph">Line or paragraph</p>

The class will allow subsequent css to be applied only to these "." 
paragraphs.

Tony



On Wednesday, September 18, 2019 at 11:42:59 PM UTC+10, Cd.K wrote:
>
> TonyM
>
> Very interesting.
>
> I've added my* "npp:"* and* "xpp:"* wiki text parsing rules. For this 
> application I would have to find the *":"* rule, copy it and convert it 
> to the *"."* rule. 
>
> There would also be the alternative to make a  *"two spaces"* rule 
> instead of <br/>. 
>
>
> Once I have time and have updated from 5.19 to 5.20, I will address this 
> issue. 
>
>
> Regards
> Cd.K
>
>
> On Wednesday, September 18, 2019 at 12:59:18 AM UTC+2, TonyM wrote:
>>
>> Cd.K
>>
>> If you step back for a second and consider that it appears you want to 
>> place the link to a tiddler inside the square brackets on its own line 
>> there are actually other approaches.
>>
>> For example at present if you use ";" as the first character on the line 
>> then it will be bolded and an effective <br> will be there although it is 
>> not in the text
>> ;[[tiddlername]]
>>
>> Or if you want it indented ":"
>> :[[tiddlername]]
>>
>> In the above there will be an effective <br/> at the end of the lines, 
>> but the text remains clearer. So the above are immediate work arounds for 
>> you.
>>
>> *However, After a long and trying experience with WIkitext the following 
>> is I believe a good solution **"proposed".*
>>
>> I have tried to seek support to at least in my own wiki introduce a 
>> leading "." period to wikitext that does the same as ";" without the bold. 
>> Basically a leading period would wrap the line in 
>> .This is a line or paragraph
>>
>> Would render (not insert)
>> <p>This is a line or paragraph</p> 
>>
>> I would then add an editor toolbar button to prefix lines with "." in 
>> bulk. Which I have tested and it works well because it collapses multiple 
>> blank lines into one blank line between paragraphs/lines. But placing a 
>> single "." on lines I want to automatically break, or become multi-line 
>> paragraphs is trivial and still quite neat. Then you need only place ".[[" 
>> in your prefix and "]]" in your suffix if at all.
>>
>> *Problem is I do not know how to add the wiki text parsing rule.*
>>
>> Regards
>> Tony
>>
>> On Tuesday, September 17, 2019 at 11:13:51 PM UTC+10, Cd.K wrote:
>>>
>>>  
>>
>>

-- 
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/2374b0df-c872-48b1-8cdd-cfc25a66aa81%40googlegroups.com.

Reply via email to