Hi Joe
> <$set name="username"
> value={{$:/status/UserName}}
> emptyValue="(anonymous)">
> <$set name="target"
> filter="[<currentTiddler>]">
> <$action-createtiddler
> $basetitle={{{ [[Comment by ']]
> +[addsuffix<username>]
> +[addsuffix[' on ' ]]
> +[addsuffix<currentTiddler>]
> +[addsuffix[']] }}}
> role="comment"
> list=<<target>>
> text=""
> edit-mode="yes"/>
> </$set>
> </$set>
>
> But this does not work - so what's gone wrong? can't I have newlines in
> filters
Filters *do* allow newlines; the problem here is that the filtered attribute
syntax doesn't permit newlines. The distinction sounds subtle, but you can see
other examples of filters that do permit newlines: for example,
$:/DefaultTiddlers can accommodate newlines between tiddler titles.
I think we can fix this without impairing backwards compatibility, and I've
created a ticket here:
https://github.com/Jermolene/TiddlyWiki5/issues/3692
Best wishes
Jeremy
>
> This page says I can
>
> https://tiddlywiki.com/#Filter%20Whitespace:%5B%5BFilter%20Whitespace%5D%5D%20%5B%5Bsubfilter%20Operator%20(Examples)%5D%5D
>
> Can anybody suggest a formatting that works and that would look nice in
> a printed media.
>
> Cheers
>
> /Joe
>
>
>
> --
> 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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d5ce8e72-1165-41b9-b398-b6f6becec82d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/BF4C85E3-E4D4-423D-89B2-88A33DF96F9E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.