Hi Rustem,

Try this:

\define colorize() color:$(_c)$;

\define cn()
  <span style=<<colorize>>>
    some text
  </span>
\end

Specifying a color directly:

<$vars _c=red><<cn>></$vars>

Specifying a color using a macro:

<$wikify name="_c" text="<<color muted-foreground>>">
<<cn>>
</$wikify>

Best wishes

Jeremy.

> On 25 Jul 2017, at 08:12, Danielo Rodríguez <rdani...@gmail.com> wrote:
> 
> Try enclosing the macro call on quotes <$set value="<<macro>>">
> 
> -- 
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> 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/85b2e5b9-4874-45a6-af6c-aa3db6ce3ddd%40googlegroups.com.
> For more options, visit 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/B58E53CD-719A-44A8-8B7C-4493E0E60AEF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to