Hi, Try wrapping all your pasted text in html pre tag
<pre>pasted text here new lines honoured </pre> In tiddlywiki this gives it a grey background and does not render wiki text Same if you wrap it all in div with the pre white space <div style="white-space: pre;"> pasted text here new lines honoured *List * list </div> Do you want to edit it and add Wikitext? Also rather than content type = text/x-tiddlywiki have you tried content type = text/plain Tones On Saturday, 5 September 2020 13:13:44 UTC+10, BhKh wrote: > > Hello! After about 7 years I am considering getting back into using > TiddlyWiki again. When Iast I used, it was 2.4.4. > > Now I am starting a new TW5 and I am a bit perplexed as to how to deal > with line breaks. > > I'm planning on using my wiki to collect notes clipped from other places, > write my own notes, and copy my notes out of TW into other things. I > thought that this was the primary function of TW, so this issue has me > scratching my head. > > In 2.4.3, you could simply put a line break in the editor and you got a > line break (new line) in the rendered tiddler. > > In TW5 this seems to no longer be the case. If I have ten lines of text > that I copy from one location into a my TW, it all gets put onto a single > line. Obviously not good. I can understand formatting like bold, italics, > and headings not surviving a copy paste. But line breaks? > > So I have implemented the solution here: > https://tiddlywiki.com/#Hard%20Linebreaks%20with%20CSS > As I understand this solution, I'm just tagging all tiddlers that I want > to show the same breaks in the editor as in the final doc with a certain > class. > > Now when I paste in ten lines of text into a tiddler I get ten lines in > the rendered version. Great!! However, when I copy those ten lines from my > tiddly wiki back into another document, they are all on a single line. > > As well, the breaks are not shown in the preview window. There it is just > all one big line. > > So my questions are: *Am I doing something wrong? Is there a different > way I'm supposed to be doing things?* > > It seems like if TW is supposed to be for keeping notes on things, this is > odd behaviour. I thought I should be able to paste things in and cut things > out and have them at least keep line breaks. However it seems like TW is > now designed to be more a code editor and less a document editor. I realize > that the line is necessarily blurry in TW, but in the end the purpose of a > TW is not to write code. > > All the threads on this topic seem to be long and complicated and hard to > piece together a solution. I realize this may be difficult since different > people may need different solutions. > > I thought I could start all tiddlers with """. However it seems that this > needs to be done on a paragraph by paragraph basis. If I try to make a > heading by typing > ! title > it gets rendered literally. So that solution seems to fall into the > "reformat my text every time category." > > So keeping in mind that I plan to use my TW for collecting text, writing > text, and re-using text, *what is my best solution?* I really don't want > to have to re-format everything I paste into a tiddler. Also keep in mind > that I am starting fresh, so that may give more options. > > I'd even be fin with a solution that involved copy and pasting through > some sort of intermediary system if it was a simple as pasting it in and > copying it out. > > Thanks! I appreciate everyone's contributions over the years I have been > away! > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aaa92e36-2b2f-408f-a7bb-cfd3bbdbadceo%40googlegroups.com.

