Hi anyway to make all the tiddlder process newline as usually processed for all tiddler?
For now make double enter as newline a litter boring On Friday, August 21, 2020 at 10:39:59 PM UTC+8, Eric Shulman wrote: > > On Friday, August 21, 2020 at 6:16:44 AM UTC-7, imleg...@gmail.com wrote: >> >> Plz check that the newline mark not shown in the quote part after render, >> why this happpened. >> >> I think the quote content should be >> export xxxxx >> export xxxxx >> export xxxxx >> >> like this. >> > > As with all web content (not just TiddlyWiki), HTML content is rendered > "inline", which joins separate lines and reduces multiple spaces to single > spaces. > > Thus, the following: > foo bar > baz mumble frotz > gronk > snork snerfle argle bargle > > is displayed as: > foo bar baz mumble frotz gronk snork snerfle argle bargle > > Blockquotes in wikitext (see > https://tiddlywiki.com/#Block%20Quotes%20in%20WikiText) are no exception. > > To force a newline within HTML content, it is standard practice to embed > <br/> where you want the newline to occur. > > Of course, this can be somewhat inconvenient when you have multiple lines > of content for which you want each line to remain separate. > > In this case, you can use CSS to control the "white-space" handling, like > this: > <blockquote style="white-space:pre;"> > line one > line two > line three > </blockquote> > > You can also accomplish this using a CSS *classname*: > <style> .whitespace { white-space:pre; } </style> > > <blockquote class="whitespace"> > line one > line two > line three > </blockquote> > > The same CSS class technique can also be applied to TW wikitext > blockquotes, like this: > <style> .whitespace { white-space:pre; } </style> > > <<<.whitespace > line1 > line2 > line3 > <<< > > Note that, rather than putting the <style>...</style> directly in the > tiddler content, it is better to put it in a separate tiddler which will > define the class once for use as many times as you like: > > 1) create a tiddler, e.g., MyStyles, tagged with $:/tags/Stylesheet, > containing: > .whitespace { white-space:pre; } > > 2) Use that CSS class anywhere you like: > <<<.whitespace > line 1 > line 2 > line 3 > <<< > > 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/63a90a77-7ed5-430e-a55c-9863a75b81e8o%40googlegroups.com.