Is there any reason to avoid adding long paragraphs to fields?

70 views
Skip to first unread message

si

unread,
Dec 18, 2020, 6:57:18 AM12/18/20
to TiddlyWiki
Sometimes I want to add a large chunk of text to a tiddler, but store it outside of the main text field and instead transclude it in. It might be contain multiple paragraphs, and maybe some wikitext markup.

I'm deciding whether to add it to a field within the tiddler (using the EditTextWidget), or to just create a separate tiddler and relate it via tags.

Is there a technical reason why it would be a bad idea to use fields in these types of cases?

TiddlyTweeter

unread,
Dec 18, 2020, 7:31:48 AM12/18/20
to TiddlyWiki
Ciao si

It would depend on usecase. The distinct advantage of "chunk-to-tiddler" is that the fragments can be more easily played with if separate Tiddlers.

However, if you are sure some text would always only be inserted from a field into its own Tiddler it would be (1) more portable; (2) within a clearly defined remit.

Best wishes
TT

Mark S.

unread,
Dec 18, 2020, 10:37:21 AM12/18/20
to TiddlyWiki
What TT said, with an additional caveat to test anything you're thinking of doing first. I do something similar with NotoWritey, saving different versions of the text to fields. I vaguely recall that there was some problem with line feeds stored in fields.
Reply all
Reply to author
Forward
0 new messages