On Saturday, July 3, 2021 at 6:08:35 AM UTC-7 [email protected] wrote:

> Let's say I have a code for a button:
> <$button>
> <$action-sendmessage $message="tm-new-tiddler"
> text='Line 1 Line 2'
> />
> New
> </$button>
> How can I split the lines so that in the editor they would be in a couple 
> of lines, and not one?


Symbolic newlines such as "\r\n" are not supported within parameter values, 
but you *can* embed *actual* newlines in the parameter value, like this:
<$action-sendmessage $message="tm-new-tiddler"
text='Line 1
Line 2'/>

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/c95177a4-4883-47c4-bf18-c5d31bdcf9e9n%40googlegroups.com.

Reply via email to