[tw5] Re: Transcluding through templates to preserve line breaks

2019-12-03 Thread PMario
Hi Paul, The "How to apply custom styles " tiddler of the docs may be interesting. -mario -- You received this message because you are sub

[tw5] Re: Transcluding through templates to preserve line breaks

2019-12-03 Thread Eric Shulman
On Tuesday, December 3, 2019 at 9:55:06 AM UTC-8, Paul Lee wrote: > > I use the *<$transclude>* widget to use some tiddlers as data sources for > the content rendered in other tiddlers. I need to have the line breaks and > white space from the data tiddler preserved. Currently, the text from the

[tw5] Re: Transcluding through templates to preserve line breaks

2019-12-03 Thread Paul Lee
> Have you tried using the mode="block" parameter of the $transclude widget? > I hadn't. That's an ideal solution. It works as expected. > > https://tiddlywiki.com/#TranscludeWidget > > Alternatively, if you surround the $transclude with ..., that > should also preserve the line breaks and wh