How stupid of me!!!

In fact I got "[[id:rnvp name:RNVP in url:https://rnvp.worki.ng/rnvp/ 
<https://rnvp.hp.in.phm.education.gouv.fr/rnvp-service/ui/>]]" within my 
text field in my wiki. The square brackets tell the true story. the newline 
works, but the fault is in the way I tried feeding it to my tiddler later 
on. confirmed with an <$action-log $$message=<<msg>> $$filter="id name 
url"/> that the newline are there indeed.

BTW my feeding was <$action-setfield $tiddler="$proto$" $field=text 
$value=<<body>>/>

OK, closed thread.

Le vendredi 16 avril 2021 à 18:46:48 UTC+2, Jean-Pierre Rivière a écrit :

> <newline>doesn't seem to work witg tge join operator.
>
> My filter was:
>
> <$vars id={{!!id}} name={{!!name}} url={{!!url}} newline="
> ">
> <$set name=body filter="[[id:]addsuffix<id>] [[name:]addsuffix<name>] 
> [[url:]addsuffix<url>] +[join<newline>]">
>
> I get a single line, not three.
> As for this code, well it was an early attempt. I'm converting it into 
> using several action-setffield instead.
> Le vendredi 16 avril 2021 à 18:03:01 UTC+2, Eric Shulman a écrit :
>
>> On Friday, April 16, 2021 at 8:28:56 AM UTC-7 jn.pierr...@gmail.com 
>> wrote:
>>
>>> But I can't add a newline character because there is no way I can code 
>>> it that I am aware.
>>>
>> So if you know how to summon newlines, please enlight me!
>>>
>>
>> Assign a literal newline to a variable.  Then you can add the variable to 
>> your text by using addsuffix<newline> within the filter syntax.
>> <$vars newline="
>> ">
>> <$set name="output" filter="[*...some filter operators...*
>> addsuffix<newline>]">
>> ...
>> </$set>
>> </$vars>
>>
>> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9a36814c-0ac5-4083-a375-93f206910cb0n%40googlegroups.com.

Reply via email to