Jon,

Please shareback when you get a solution.

When typing content into a tiddler I often use in addition to bullet points 
the ";" and ":" line prefixes eg;

;Heading
:indents
:indents

As these come with their own automatic line breaks. 
I am trying to develop an override in wiki text where a leading period "."
 eg

.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat 
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat 
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Would force a paragraph break, such the above would render as

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea 
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate 
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat 
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id 
est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod 
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea 
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate 
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat 
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id 
est laborum.


   - This actually wraps each paragraph and lines in `<p></p>`
   - I would then have an edit toolbar button to place period at the 
   beginning of all/or selected lines.
   - This would then be an alternative to wrapping the test with """ """
   - You could have an editoolbar that directly wraps each paragraph and 
   line in `<p></p>`

Regards
Tony

On Monday, November 4, 2019 at 10:27:51 AM UTC+11, Jon wrote:
>
> Hi Tony,
>
> Yes, a new tiddler button with associated css sounds good. I've seen 
> references to this before so I'll investigate.
>
> Thanks
> Jon
>
> On Sunday, 3 November 2019 22:52:31 UTC, TonyM wrote:
>>
>> Jon
>>
>> You are getting further from the initial issue but there is a class field 
>> on tiddlers that can be used to apply css to this tiddler.
>>
>> Its quite easy to create own new tiddler button that creates custom 
>> tiddlers with text, fields and tags to a desired standard.
>>
>> If you are familiar with wordprocessors you may realise there is a 
>> difference between a line break and a paragraph. Initialy it seems annoying 
>> that line breaks seem to collapse in wiki text but when you start writing 
>> wiki text with widgets and macros you become greatful that you don't end up 
>> with unwanted line breaks every where.
>>
>> I can share more methods soon.
>>
>> Tony
>>
>>

-- 
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/0be9b053-2107-4c52-bdd0-294599a02ae5%40googlegroups.com.

Reply via email to