Si,
I have recently being working on a tool that pulls wiki text from a field
in another tiddler. Because the value is in a variable (display-markup) I
used the wikify widget as follows;
<$wikify name=result output=html mode="inline"
text="<<display-markup>>"><<result>></$wikify>
This could have a variable, transclusion or filtered transclusion as the
text value and achieve what you ask, however as others said can you
transclude directly,
{{tiddler!!field}} or use the transclude widget?
Tones
On Thursday, 8 July 2021 at 01:43:11 UTC+10 Si wrote:
> I have a macro where I use the $text widget where the "text" attribute is
> a filtered transclusion (i.e. {{{ [myfilter] }}} ).
>
> I've noticed that occasionally [myfilter] produces something containing
> markup, which obviously gets rendered as plain text.
>
> E.g. <$text text={{{ [myfilter] }}}/> might output A __sentence__ with
> ''formatting''.
>
> Is there some equivalent of the $text widget that will output the text
> with the formatting applied?
>
> So for the above example I would instead get: A *sentence* with
> *formatting*.
>
> Maybe this is a basic question but I'm not sure what the simplest approach
> would be?
>
--
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/f03b87e6-4687-4172-991c-c15e7108fec2n%40googlegroups.com.