Literal transclusion of a field value?

39 views
Skip to first unread message

Hubert

unread,
Jun 21, 2018, 4:57:57 AM6/21/18
to TiddlyWiki
Hello,

What's the correct syntax for transcluding a field without wikifying it? I've searched in the documentation but failed to find a working solution (so, apologies if I've overlooked something obvious).

What I'm trying to do is list specific tiddlers in a table with the exact (literal) values of their respective list fields -- this should include the '[[ ]]' brackets that are added for list items with spaces.

This is my code:

<table>
<$list filter="[all[tiddlers]search:title[_list]]">
<tr><td>{{!!title}}</td><td>{{!!list}}</td></tr>
</$list>
</table>


I'm aware that the problem lies in the...
{{!!list}
...reference that wikifies its output by default.

How could I replace it to get the literal value of the list field?

Thank you for your help!

Regards,
Hubert

Hubert

unread,
Jun 21, 2018, 5:42:44 AM6/21/18
to TiddlyWiki
OK, I've found a way --

<$view field=list format=htmlencoded>{{!!list}}</$view>

will render the value of the list field literally.

Thanks,
Hubert
Reply all
Reply to author
Forward
0 new messages