Hi Mohammad

> On 1 Mar 2019, at 10:05, Mohammad <[email protected]> wrote:
> 
> In TW macro the below pragma 
> 
> \rules only
> 
> 
> prevents the macro output from wikification! Is there such a practice for 
> Tiddlywiki JavaScript macro?
> 
> I mean how prevent TW from wikification of a JS macro output or how get the 
> raw text as output?

To render the plain output of a JS macro you can do this:

<pre><$text text=<<dumpvariables>>/></pre>

If you need the output in a variable you’ll need to use the wikify widget:

<$wikify name="output" text="""<pre><$text text=<<dumpvariables>>/></pre>""">
<$text text={{{ [<output>split[|]join[||]] }}} />
</$wikify>

Best wishes

Jeremy

> 
> 
> --Mohammad
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/1bf3a347-d63a-451f-9b78-028e67963637%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/1bf3a347-d63a-451f-9b78-028e67963637%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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/E6C68D3B-3B59-46A0-9683-EC4B1B3851F9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to