On Tuesday, November 10, 2020 at 2:46:24 PM UTC-8, Rika Sukenik wrote:
>
> I'm copying text over from a text editor and am trying to minimize 
> formatting changes. Plain text seems to work well, but I don't see an 
> option to bold text. Is it possible? If no, what is a good way to copy 
> large amounts of text from a text editor? Thanks :)


When you use type="text/plain", you can't add any TiddlyWiki formatting 
codes.  If you change to using type="text/vnd.tiddlywiki" or leave the type 
field blank, then the tiddler content can use TiddlyWiki formatting codes, 
such as "doubled single quotes" around text to make it appear bold.

However, using TiddlyWiki 5 formatting will also affect the use of newlines 
within the content, and your text will automatically "flow and wrap", 
rather than keeping blank lines as-is.  To retain the look and layout of 
"text/plain", you can enclose your text within some CSS, like this:
@@white-space:pre;font-family:monospace;border:1px solid 
#ccc;background:#eee;
... your content here ...
... including ''bold formatting'' as desired ...
@@

Note that, at a minimum, only the "white-space:pre" CSS is needed; the 
font-family, border, and background CSS attributes are optional.

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/459bc151-7f28-454e-9ae9-2f96486adc9ao%40googlegroups.com.

Reply via email to