[tw5] Re: Single line break query

2019-11-07 Thread Jon


On Thursday, 7 November 2019 11:23:02 UTC, PMario wrote:
>
> Hi, 
>
> I did create a PR https://github.com/Jermolene/TiddlyWiki5/pull/4366
>
> -m
>

-- 
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/9881102a-8f52-4db2-8ceb-2e8eebe783e4%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-07 Thread PMario
Hi, 

I did create a PR https://github.com/Jermolene/TiddlyWiki5/pull/4366

-m

-- 
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/fecab8bd-24e2-4a92-9004-f13d8df92ac5%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-07 Thread Manningham Housing
Ah, yes - that makes sense.

Regards
Jon

On Thursday, November 7, 2019 at 8:46:17 AM UTC, PMario wrote:
>
> On Thursday, November 7, 2019 at 9:43:58 AM UTC+1, PMario wrote:
>>
>> On Thursday, November 7, 2019 at 8:32:14 AM UTC+1, Jon wrote:
>>
>> So, although the contents of both tags looked exactly the same when side 
>>> by side, there was something about the copying & pasting that introduced 
>>> the error.
>>>
>>
>> There may have been a space in front or at the end of the copy/pasted 
>> tag. ... I did have a similar problem some time ago.
>>
>
> I did a short test. ... If you copy the tag from a tag-pill and you are 
> not careful, there will be a space at the front of the tag. 
>
> I'll have a closer look. ... May be we file an issue at github if there is 
> an easy fix. 
>
> -m
>

-- 
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/0b9b741a-4c2a-4ca8-846a-0eb7efec56f9%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-07 Thread PMario
On Thursday, November 7, 2019 at 9:43:58 AM UTC+1, PMario wrote:
>
> On Thursday, November 7, 2019 at 8:32:14 AM UTC+1, Jon wrote:
>
> So, although the contents of both tags looked exactly the same when side 
>> by side, there was something about the copying & pasting that introduced 
>> the error.
>>
>
> There may have been a space in front or at the end of the copy/pasted tag. 
> ... I did have a similar problem some time ago.
>

I did a short test. ... If you copy the tag from a tag-pill and you are not 
careful, there will be a space at the front of the tag. 

I'll have a closer look. ... May be we file an issue at github if there is 
an easy fix. 

-m

-- 
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/64aac6b3-4601-466b-a0d0-dd8afe560fc9%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-07 Thread PMario
On Thursday, November 7, 2019 at 8:32:14 AM UTC+1, Jon wrote:

So, although the contents of both tags looked exactly the same when side by 
> side, there was something about the copying & pasting that introduced the 
> error.
>

There may have been a space in front or at the end of the copy/pasted tag. 
... I did have a similar problem some time ago.

-m

-- 
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/009bc813-10ba-4fee-adac-ba820e176c9f%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-06 Thread Jon
Right, well I've worked out why it wasn't working in the empty wiki.

Wanting to make sure I wasn't making any mistakes, I copied and pasted 
$:/tags/Stylesheet 
when adding the tag rather than typing it.
 
To double check if this was the problem, I then added another tag next to 
it and typed it out and deleted the original - it worked. 

So although the contents of both tags looked exactly the same, there was 
something about the copying & pasting that introduced the error.

Thanks again!

Jon


On Thursday, 7 November 2019 06:52:36 UTC, Jon wrote:
>
> Hi Mario,
>
> for tiddlers with field class=myText
>
> .myText .tc-tiddler-body {
>   word-break: normal; 
>   word-wrap: break-word;
>   white-space: pre-wrap;
> }
>
> This works perfectly, thanks- but only in one of my wikis!!
>
> I'd noticed this strange behaviour when I was experimenting with some 
> basic CSS to get that to work first.
>
> I used .myText { border: 2px solid blue; } and found this also only works 
> in one of them.
>
> Thinking there must be something in that wiki which is interfering with 
> it, I downloaded an empty wiki and found .myText { border: 2px solid blue; 
> } doesn't work in that either - but it works as expected at tiddlywiki.com
>
> I've checked and double checked and I'm pretty sure I'm not doing anything 
> else to account for the differences although it does seem pretty strange.
>
> If you try .myText { border: 2px solid blue; } in a downloaded empty 
> tiddlywiki does it work for you?
>
> Regards
> Jon
>
> On Sunday, 3 November 2019 12:29:51 UTC, Jon wrote:
>>
>> Hi,
>>
>> Is using the triple quotes the only way to produce a single line break?
>>
>> For a page of text which includes headers and bullets etc. each piece of 
>> text needs to be enclosed in the quotes.
>>
>> Do not other people find this a tad inconvenient?
>>
>> Is there another way around it?
>>
>> Regards
>> Jon
>>
>>
>>

-- 
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/73d89e74-ed87-4825-b2a9-2c55f6daf6b1%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-06 Thread Jon
Hi Mario,

.myText .tc-tiddler-body {
  word-break: normal; 
  word-wrap: break-word;
  white-space: pre-wrap;
}


works perfectly, thanks - but only in one of my wikis!!

I'd noticed this strange behaviour when I was experimenting with some basic 
CSS to get that to work first.

I used .myText { border: 2px solid blue; } and found this also only works 
in one of them.

Thinking there must be something in that wiki which is interfering with it, 
I downloaded an empty wiki and found .myText { border: 2px solid blue; } 
doesn't work in that either - but it works as expected at tiddlywiki.com

I've checked and double checked and I'm pretty sure I'm not doing anything 
else to account for the differences although it does seem pretty strange.

If you try .myText { border: 2px solid blue; } in a downloaded empty 
tiddlywiki does it work for you?

Regards
Jon

On Sunday, 3 November 2019 12:29:51 UTC, Jon wrote:
>
> Hi,
>
> Is using the triple quotes the only way to produce a single line break?
>
> For a page of text which includes headers and bullets etc. each piece of 
> text needs to be enclosed in the quotes.
>
> Do not other people find this a tad inconvenient?
>
> Is there another way around it?
>
> Regards
> Jon
>
>
>

-- 
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/0eb0d4e1-ab76-4328-830a-7b9a0f4fec65%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-06 Thread PMario
uups,
didn't test it. I think it needs to be:

.myTest .tc-tiddler-body {
...

-m

-- 
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/f85400e0-07d8-4b5a-94ca-208877c8a942%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-06 Thread Jon
Hi Mario,

Thanks - I was stuck. I think this would be a good solution and I can see 
that Tiddler Commander would allow the removal of the field from all 
tiddlers if needed later.

However, the CSS seems to be mis-applying itself as the toolbar icons are 
spread about the page.

Any ideas for a correction?

Regards
Jon

On Tuesday, 5 November 2019 09:40:23 UTC, PMario wrote:
>
> Hi Jon, 
>
> If you don't want to use a tag, to apply the "special" styling you can use 
> the "user class 
> " field. 
>
> eg: create a field named: class
> add the value eg: myText
>
> This field needs to be part of every tiddler, which needs special 
> formatting. I think *the tagging mechanism will be more convenient*. 
>
> 
>
> create a tiddler named eg: my-styles and tag it: $:/tags/Stylesheet ... 
> add
>
> .myText {
>   word-break: normal; 
>   word-wrap: break-word;
>   white-space: pre-wrap;
> }
>
> This will have the same effect as tagging it and use the data- 
> definition. 
>
> have fun!
> mario
>
>

-- 
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/a4328e42-4c0c-4249-97b8-d6fe1e271546%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-05 Thread PMario
Hi Jon, 

If you don't want to use a tag, to apply the "special" styling you can use 
the "user class " 
field. 

eg: create a field named: class
add the value eg: myText

This field needs to be part of every tiddler, which needs special 
formatting. I think *the tagging mechanism will be more convenient*. 



create a tiddler named eg: my-styles and tag it: $:/tags/Stylesheet ... add

.myText {
  word-break: normal; 
  word-wrap: break-word;
  white-space: pre-wrap;
}

This will have the same effect as tagging it and use the data- definition. 

have fun!
mario

-- 
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/949ce550-b501-4062-8eed-8e7e88c1ca1a%40googlegroups.com.


Re: [tw5] Re: Single line break query

2019-11-03 Thread Jon
Hi,

I won't get chance to look at this properly until later, but it's just 
occurred to me that what I don't want to do is introduce additional 
characters to the text, for instance .

The option that Mario pointed out is attractive because it achieves the 
desired result using a tag which could then be removed thereby restoring 
everything to it's original state.

If I populated all my tiddlers with , for instance, this wouldn't be 
the case.

So, this seems to be the way to go but I don't want to clutter every 
tiddler with the additional tag - which seems unecessary.

I just need to apply the desired action in another way.

Regards
Jon

On Monday, 4 November 2019 06:32:30 UTC, Jon wrote:
>
> Thanks everyone, I'll play around with the options later and report back.
>
> Regards
> Jon
>
> On Sunday, 3 November 2019 23:48:50 UTC, Aidan Grey wrote:
>>
>> I created a simple button for this myself. It's very simple. 
>>
>> Create a button.
>> For the action, use this:
>>
>> <$action-sendmessage
>> $message="tm-edit-text-operation"
>> $param="suffix-lines"
>> character=""
>> count="1"
>> />
>>
>>
>>
>> On Sun, Nov 3, 2019, 4:27 PM 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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/1baa8778-0a76-40fa-ba10-dae34fa98fd5%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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/895a4cc3-7ecb-40bb-b551-6a0901926be3%40googlegroups.com.


Re: [tw5] Re: Single line break query

2019-11-03 Thread Jon
Thanks everyone, I'll play around with the options later and report back.

Regards
Jon

On Sunday, 3 November 2019 23:48:50 UTC, Aidan Grey wrote:
>
> I created a simple button for this myself. It's very simple. 
>
> Create a button.
> For the action, use this:
>
> <$action-sendmessage
> $message="tm-edit-text-operation"
> $param="suffix-lines"
> character=""
> count="1"
> />
>
>
>
> On Sun, Nov 3, 2019, 4:27 PM 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/1baa8778-0a76-40fa-ba10-dae34fa98fd5%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/6220f560-72ec-4119-99c4-78e53e50aba7%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread pedruchini
Hi,

This is what I do in all my wikis:

I put this in a tiddler tagged $:/tags/Stylesheet

dl dt {
   font-weight: normal;
   margin-top: 0px;
}

Then, instead of

"""
one
two
three
"""

I write:

;one
;two
;three

And instead of

"""
one
two
three

four
"""

I write

;one
;two
;three
>
;four

In other words, I changed the behaviour of ";" (term).

In case I need:

;term
:definition

I write

;''term''
:definition

This is not very elegant, I know, but it works for me. Of course, Tony, your 
solution (the leading period [.]) would be an improvement.

-- 
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/6f4b2dc3-b557-4218-ae17-d8a6dd11f87c%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread TonyM
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 ``
   - 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 ``

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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0be9b053-2107-4c52-bdd0-294599a02ae5%40googlegroups.com.


Re: [tw5] Re: Single line break query

2019-11-03 Thread Aidan Grey
I created a simple button for this myself. It's very simple.

Create a button.
For the action, use this:

<$action-sendmessage
$message="tm-edit-text-operation"
$param="suffix-lines"
character=""
count="1"
/>



On Sun, Nov 3, 2019, 4:27 PM 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 tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1baa8778-0a76-40fa-ba10-dae34fa98fd5%40googlegroups.com
> 
> .
>

-- 
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/CAJu7H0aOw-67U2fMsU-1ThPaowo5hzTQjVasXaMmdXO0QGq8TA%40mail.gmail.com.


[tw5] Re: Single line break query

2019-11-03 Thread Jon
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1baa8778-0a76-40fa-ba10-dae34fa98fd5%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread TonyM
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9474f06-901d-4a58-89d7-bb52e69a9019%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread Jon
As an additional query, I'd be looking to create a template (haven't done 
before) so that each tiddler would be tagged with "text" for instance.

However, that would create unecessary clutter.

I'm not that familiar with using other fields, but could the stylesheet be 
applied using another field in a template, which is therefore hidden from 
view?

Regards
Jon

On Sunday, 3 November 2019 12:29:51 UTC, Jon wrote:
>
> Hi,
>
> Is using the triple quotes the only way to produce a single line break?
>
> For a page of text which includes headers and bullets etc. each piece of 
> text needs to be enclosed in the quotes.
>
> Do not other people find this a tad inconvenient?
>
> Is there another way around it?
>
> Regards
> Jon
>
>
>

-- 
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/94cfd8ae-2bae-4287-b897-c16b97284680%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread Jon
Hi Mario,

I hadn't seen that and I've managed to get it working in my wiki.

Seems to do everything I want and I suppose as it's a tag that can be 
removed, hopefully there shouldn't be any unintended consequences.

Thanks
Jon

On Sunday, 3 November 2019 13:42:39 UTC, PMario wrote:
>
> Hi Jon,
>
> If you use "text only", this mechanism could be interesting: 
> https://tiddlywiki.com/#Hard%20Linebreaks%20with%20CSS:%5B%5BHard%20Linebreaks%20with%20CSS%20-%20Example%5D%5D%20%5B%5BHard%20Linebreaks%20with%20CSS%5D%5D
>
> I didn't test side effects, but it should be a starting point.
>
> -m
>

-- 
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/4be87366-6b33-46d9-b659-ecd73e87338c%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread PMario
Hi Jon,

If you use "text only", this mechanism could be interesting: 
https://tiddlywiki.com/#Hard%20Linebreaks%20with%20CSS:%5B%5BHard%20Linebreaks%20with%20CSS%20-%20Example%5D%5D%20%5B%5BHard%20Linebreaks%20with%20CSS%5D%5D

I didn't test side effects, but it should be a starting point.

-m

-- 
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/4e9f51e8-7cab-41a1-a99a-8d73fbea08f2%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread Jon
Didn't think to first look at the docs which I shall do first!

Regards
Jon

On Sunday, 3 November 2019 12:29:51 UTC, Jon wrote:
>
> Hi,
>
> Is using the triple quotes the only way to produce a single line break?
>
> For a page of text which includes headers and bullets etc. each piece of 
> text needs to be enclosed in the quotes.
>
> Do not other people find this a tad inconvenient?
>
> Is there another way around it?
>
> Regards
> Jon
>
>
>

-- 
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/2480faa1-0d2a-4950-8b9d-765d2e025ad4%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread Jon
Ah, yes. That's better.

This is probably a stupid question, but when in text editor mode, could 
this not be inserted in the text automatically when pressing the enter key 
for a new line?

If that would be problematic, how about another keyboard shortcut?

Regards
Jon

On Sunday, 3 November 2019 12:29:51 UTC, Jon wrote:
>
> Hi,
>
> Is using the triple quotes the only way to produce a single line break?
>
> For a page of text which includes headers and bullets etc. each piece of 
> text needs to be enclosed in the quotes.
>
> Do not other people find this a tad inconvenient?
>
> Is there another way around it?
>
> Regards
> Jon
>
>
>

-- 
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/ec102e88-cc0c-4b8e-b598-fd9a5e5ac45f%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-03 Thread Eric Shulman
On Sunday, November 3, 2019 at 4:29:51 AM UTC-8, Jon wrote:
>
> Is using the triple quotes the only way to produce a single line break?
> For a page of text which includes headers and bullets etc. each piece of 
> text needs to be enclosed in the quotes.
> Is there another way around it?
>

You can use  to force a line break in text content.

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/598fe0b9-a296-481d-b5cc-b4da3e67f944%40googlegroups.com.