Re: [tw5] Wikify use case and trickery for tab-indented text

2022-01-03 Thread Charlie Veniot
G'day Jeremy,

That I did not know.  Thank-you much!

I'm thinking overall safer to stick with tabs for indentation.

Well, that's the knee-jerk instinct.  To be chewed on via subconscious 
paralysis by analysis.

On Monday, January 3, 2022 at 12:45:43 PM UTC-4 jeremy...@gmail.com wrote:

> Hi Charlie
>
>
> On 3 Jan 2022, at 16:32, Charlie Veniot  wrote:
>
> However, spaces and tabs are problematic for the "Wikify Viewer" tool 
> because HTML ignores whitespace (spaces and tabs), i.e. whitespace is not 
> rendered.  
>
>
> You can control how HTML displays whitespace with CSS:
>
> https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
>
> Applying `white-space: pre;` should stop sequences of whitespace from 
> being coalesced. It doesn’t help make tabs display better though.
>
> Best wishes
>
> Jeremy
>

-- 
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/eb9316bc-96e1-46e2-9bc1-144cf7278dd5n%40googlegroups.com.


Re: [tw5] Wikify use case and trickery for tab-indented text

2022-01-03 Thread Jeremy Ruston
Hi Charlie

> On 3 Jan 2022, at 16:32, Charlie Veniot  wrote:
> 
> However, spaces and tabs are problematic for the "Wikify Viewer" tool because 
> HTML ignores whitespace (spaces and tabs), i.e. whitespace is not rendered.  

You can control how HTML displays whitespace with CSS:

https://developer.mozilla.org/en-US/docs/Web/CSS/white-space

Applying `white-space: pre;` should stop sequences of whitespace from being 
coalesced. It doesn’t help make tabs display better though.

Best wishes

Jeremy

-- 
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/3834DE13-BF41-4CAE-9ADA-1A3C0E118441%40gmail.com.