Re: [tw5] Syntax to highlight text

2020-04-10 Thread Klaas Vaak
Thanks a lot Mohammad :-)))

> On 2020-Apr-10, at 10:13, Mohammad  wrote:
> 
> 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, 2020 at 10:16:54 AM UTC+4:30, Klaas Vaak wrote:
> 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 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 Mat’s/TonyM’s 
>> syntax would be required.
>> 
>> mark tag is also let you to set properties like below
>> 
>> Hi
>> 
>> 
>> By the if you can use macro as I wrote above, macro is the simplest! like 
>> below
>> \define h(txt, color:#FF9) > To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddl...@googlegroups.com <>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/870456c2-6f0b-49fe-a9b1-c9d7699a9412%40googlegroups.com
>>  
>> .
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/d4e76361-dec5-40a4-9edc-fc3dbd542e93%40googlegroups.com
>  
> .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86F4FE60-F038-456B-8935-C84157D74F8A%40gmx.net.


Re: [tw5] Syntax to highlight text

2020-04-09 Thread Mat
Well, I think "highlighting" is actually just background coloring with a 
faint color :-)

There is no direct *wikitext* highlighting which is what I think is what 
you're after, but I made a github request 
 for this (...some 
time ago, ehm) so give it a thumbs up.

So, for now, I'm afraid you'll have to something like @@background:#FF9; 
this@@.

OR you can check out the very recently announced Dynanote plugin that might 
do exactly what you're after. See release notes in the prerelease 
.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c174fdc6-957e-471b-88f6-ba0d304d8b11%40googlegroups.com.


Re: [tw5] Syntax to highlight text

2020-04-09 Thread Klaas Vaak
Highlight is giving a background colour to a word or phrase, like you do when 
e.g. reading a report and you highlight words in yellow; yes you can highlight 
a whole sentence while reading the report, but usually it is a word or a phrase 
and people use a felt-tipped marker.

What is on the page you linked to is colouring, “highlighting” if you like, a 
whole block. I am looking for the word highlighting. Usually it consists of 
putting symbols on either side of a word, like e.g. italics or bold.

> On 2020-Apr-09, at 20:02, Mat  wrote:
> 
> Klaas Vaak wrote:
> Coloured background, which is what your link directs to, is not the same as 
> highlight.
> 
> What is highlight then?
> 
> Still, the link also instructs how to apply a css class, so you can define a 
> custom class to "highlight" - assuming you know some css. (As noted, I don't 
> understand what "highlight" means so I can't create the class for you.)
> 
> <:-)
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/6ea1994a-552a-47b3-ab63-3fc52e150cf6%40googlegroups.com
>  
> .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/C667BF42-56E0-416B-8D74-0D4F1B5964F1%40gmx.net.


Re: [tw5] Syntax to highlight text

2020-04-09 Thread Mat
Klaas Vaak wrote:
>
> Coloured background, which is what your link directs to, is not the same 
> as highlight.
>

What is highlight then?

Still, the link also instructs how to apply a css *class*, so you can 
define a custom class to "highlight" - assuming you know some css. (As 
noted, I don't understand what "highlight" means so I can't create the 
class for you.)

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ea1994a-552a-47b3-ab63-3fc52e150cf6%40googlegroups.com.


Re: [tw5] Syntax to highlight text

2020-04-09 Thread Klaas Vaak
Coloured background, which is what your link directs to, is not the same as 
highlight.

> On 2020-Apr-09, at 19:47, Mat  wrote:
> 
> 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 tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/3a5e50c3-acdc-4587-a8a4-408324f12139%40googlegroups.com
>  
> .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F44BE489-2813-475F-9EAD-113FB9B5C953%40gmx.net.