Hi,
Thanks very much for the replies and I'm very pleased I don't have to spend
tonight adding """ to all the files. I knew there would be a more elegant
solution!
I would want to add some formatting so I can't change the file type to
text/plain and I'll investigate the other options to learn more about it.
Jeremy would you have that little scrap of JavaScript lying around on your
bench somewhere?
Thanks
Jon
On Thursday, 12 March 2015 08:39:18 UTC, Eric Shulman wrote:
> On Wednesday, March 11, 2015 at 11:58:46 PM UTC-7, Jon wrote:
>>
>> As mentioned on another thread, I'm importing a large number of small
>> text files after splitting a word document.
>> The resulting tiddlers will have one or a few words per line and I need
>> to maintain that formatting.
>> The tiddlers will also be transcluded and appear in tables, so the
>> formatting also needs to be retained there as well.
>>
>
> If the tiddlers are only intended to contain plain text, then you can
> preserve the linebreaks simply by setting the tiddler's "type" field to
> "text/plain". The tiddler will automatically be rendered as plain text
> without needing any extra triple-quote (""") syntax. It will also display
> as plain text when transcluding that tiddler. Q.E.D
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
>
> "Inside TiddlyWiki: The Missing Manual"
>
> https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
> Note: the IndieGogo funding campaign has ended,
> but direct fundraising continues below...
>
> YOUR DONATIONS ARE VERY IMPORTANT!
> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
> http://TiddlyTools.github.com/fundraising.html#MakeADonation
>
> Professional TiddlyWiki Consulting Services...
> Analysis, Design, and Custom Solutions:
> http://www.TiddlyTools.com/#Contact
>
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.