Found the answer myself

<$importvariables filter="[tag[$:/tags/Macro]]">

must be used.


Le lundi 30 juillet 2018 23:57:20 UTC+2, Laurent Bonet a écrit :
>
> Under node.js, I'm not able to render a tiddler which contains macros 
> (either mine or the standard tiddlywiki one like table of content ).
>
> Content of my test tiddler
> ----
> Start of the tidler
>
> <<mymacro Laurent>>
>
> End of the tiddler
> ----
>
> with the following result under tiddlywiki
>
>
> <https://lh3.googleusercontent.com/-z03jMhWR3qw/W1-Hxe3OfRI/AAAAAAAAB1I/RIl6mqOEXEQlWIN8samxxuHwzLkvnws9wCLcBGAs/s1600/exemple%2Btiddly.png>
>
>
> The command used
> ----
> tiddlywiki /Users/Laurent/TW/TEST --render "[[test]]" 
> "[is[tiddler]addsuffix[.html]]" text/plain $:/core/templates/html-tiddler
>
> ----
>
> The result, without the output of my simple macro :-(
> ----
>
> <p>Start of the tidler</p><p>End of the tiddler</p>
> ----
>
> Using the export menu is OK but I want to get a "raw" html output for 
> further processing (including pdf creation through the wkhtmltopdf 
> application).
>
>
> Thx in advance for your help.
>
> Laurent
>
>

-- 
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/144fccef-3fad-4bd0-93d3-20ff5218a51a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to