G'day David,

I'm thinking what you're running into is the nature of HTML, and not so 
much the nature of TiddlyWiki.

In HTML, to have the following appear as separate lines, you might have

Line of text<br>
Line of text<br>
Line of text<br>

or each line of text wrapped in HTML elements that force <br> to happen, 
for example:

<p>Line of text</p>
<p>Line of text</p>
<p>Line of text</p>

To avoid all of these HTML tags, wikitext from various wikis (I think) will 
take two carriage returns as meaning a line break.  That shelters folk from 
having to deal with HTML tags so they can focus on just the content.  
Wikitext is not WYSIWYG.  WYSIWYG, I'm thinking, would be really messy, or 
have loads of potential for messy.  Having the editor side-by-side with 
preview is a good compromise, I think.

Aside: Often, a bunch of stuff that ought to be displayed on one line, 
there is an advantage of having that long line broken up into different 
lines in the editor, to make editing the long line easier (kind of like 
chunking the elements of that long line of text.

When one does want to get a bit more control formatting, then that control 
comes in via HTML (and/or CSS for some real formatting power.)

Well, I didn't get any training on any of that.  Just my yellow-belt 
understanding from observations.  Food for fodder...

On Saturday, July 10, 2021 at 8:27:39 PM UTC-3 David Gifford wrote:

>
> So if I type
>
> Line of text
> Line of text
> Line of text
>
> It will show in view mode as
>
> Line of textLine of textLine of text 
>
> Unless I separate each line with a second carriage return or a <br>
>
> But if I type
>
> <<macrocall>>
> <<macrocall2>>
> <<macrocall3>> 
>
> it renders as 
>
> Text of macrocall
>
> Text of macrocall2 
>
> Text of macrocall3 
>
> Unless I change it to 
>
> <span> <<macrocall>> <<macrocall2>> <<macrocall3>> </span>
>
> In the first example, lines get smooshed together unless I do something 
> unnatural to separate them. In the second example, macro calls get pulled 
> apart from each other unless I smoosh them together in edit mode in a 
> visually unappealing way. 
>
> What does TiddlyWiki have against single-spacing? Why does it either jam 
> items together or pull them apart? What if I want 
>
> Text of macrocall 
> Text of macrocall 
> Text of macrocall 
>
> With no space in between them? But I don't want edit mode to be illegible 
> with macrocalls all piled up on each other?
>
> Okay, rant over! Feels good to get that off my chest... :-)
>

-- 
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/df1a00ac-3895-4061-a228-c72fe49990d3n%40googlegroups.com.

Reply via email to