What the title says: How transclude to show raw text, not rendered? Not sure what to search for in the docs.
Thanks!
What the title says: How transclude to show raw text, not rendered? Not sure what to search for in the docs.
Thanks!
Hi @twMat
If you want the raw contents of the transcluded tiddler, you can use <$text text={{tiddler!!text}}/>
.
If you want the result of the transclusion but without formatting, you can use the <$wikify>
widget with the output
parameter set to text
or formattedtext
Hope this helps,
Fred
Doh! But of course! Thanx!
I use the below template
title: rawText
text:
<$codeblock code={{!!text}}/>
Usage:
{{HelloThere||rawText}}
Utility plugin has a custom transclusion which includes not rendered code!
See Utility 2.4.0 — utility kit for authors and developers and look for custom transclusion