Re: [tw5] Re: Syntax to highlight text

2020-04-10 Thread Mohammad
You can create a new tiddler like title: whatever you like e.g. mymacros tag: $:/tags/Macro text: \define h(txt, color:#FF9) https://kookma.github.io/TW-Shiraz/ and specially this part: https://kookma.github.io/TW-Shiraz/#Tutorial%20Text%20Utilities Good luck Mohammad On Friday, April 10,

Re: [tw5] Re: Syntax to highlight text

2020-04-09 Thread Klaas Vaak
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 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

Re: [tw5] Re: Syntax to highlight text

2020-04-09 Thread Mohammad
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, text works well and is the simplest.

Re: [tw5] Re: Syntax to highlight text

2020-04-09 Thread Klaas Vaak
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, text works well and is the simplest. The default colour setting is yellow, so if one wants a different colour

[tw5] Re: Syntax to highlight text

2020-04-09 Thread TonyM
Folks, I will just add there is an editor toolbar button for highlighting the applies the following @@background-color:yellow; Text@@ http://tongerner.tiddlyspot.com/#Highlight%20button%20plugin Remember the @@XXX wrapps@@ text but the XXX needs to be a style or class as listed here

[tw5] Re: Syntax to highlight text

2020-04-09 Thread Mohammad
On Friday, April 10, 2020 at 12:55:30 AM UTC+4:30, Mat wrote: > > you text goes here >> > > Aha - is that a native browser thing or a TW thing? Cos if it is native > html, then we *certainly* should have it converted to @@this@@ in > wikitext. > > > This is native html5 tag! > Klaas, a

[tw5] Re: Syntax to highlight text

2020-04-09 Thread Mat
> > you text goes here > Aha - is that a native browser thing or a TW thing? Cos if it is native html, then we *certainly* should have it converted to @@this@@ in wikitext. Klaas, a shorter thing than might be a made up html tag, say "h", like so: foo ...as set in a stylesheet with: h

[tw5] Re: Syntax to highlight text

2020-04-09 Thread Mohammad
You may know the mark tag works out the box! So in your tiddler you can have you text goes here You can also use Shiraz plugin which has a css framework for Tiddlywiki --Mohammad On Thursday, April 9, 2020 at 7:58:28 PM UTC+4:30, Klaas Vaak wrote: > > The only syntax I have seen mentioned is

[tw5] Re: Syntax to highlight text

2020-04-09 Thread Mat
https://tiddlywiki.com/prerelease/#Styles%20and%20Classes%20in%20WikiText <:-) -- 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