Thanks for that additional input, Mohammad.

Where would I have to put the macro code? In each tiddler text box?

> On 2020-Apr-10, at 07:55, Mohammad <[email protected]> wrote:
> 
> 
> 
> On Friday, April 10, 2020 at 8:46:07 AM UTC+4:30, Klaas Vaak wrote:
> Mat, thanks, @@background:#FF9; text@@ works, although the hex value can also 
> be replaced by the word for the colour, as per TonyM’s reply.
> 
> TonyM, thank you for that.
> 
> Mohammad, <mark>text</mark> works well and is the simplest. The default 
> colour setting is yellow, so if one wants a different colour Mat’s/TonyM’s 
> syntax would be required.
> 
> mark tag is also let you to set properties like below
> 
> <mark style="background:bisque;">Hi</mark>
> 
> 
> By the if you can use macro as I wrote above, macro is the simplest! like 
> below
> \define h(txt, color:#FF9) <mark style="background:$color$>$txt$</mark>
> 
> Then these are valid
> 
> <<h Hi>>
> 
> 
> or 
> 
> <<h Hi bisque>>
> 
> 
>  
> 
> Many thanks guys.
> 
> 
>> On 2020-Apr-10, at 03:42, TonyM <[email protected] <>> wrote:
>> 
>> background-color:yellow;  Text@@
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/870456c2-6f0b-49fe-a9b1-c9d7699a9412%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/870456c2-6f0b-49fe-a9b1-c9d7699a9412%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/DB3CC9AB-49A3-45C1-8206-9E6938505607%40gmx.net.

Reply via email to