On Monday, December 9, 2019 at 9:55:24 AM UTC-8, Chuck R. wrote:
>
> I'd like to give part of the text that is contained in a list item a gray 
> background color. I don't want to color all the text in that list item. I'm 
> entering text using Tiddlywiki language. 
> # This is an item before colored text.
> # This is not colored. <span style="background-color:#c0c0c0;">This has a 
> colored background</span> This is stuff after the colored background.
> # This is after the list item with colored text.
> # You can also set up a style .class to do this.
>

Note: While HTML syntax always works, you can also use the "@@" TW syntax 
for specifying CSS styles around a given piece of text.  You can also use 
the abbreviated three-digit color codes, such as "#ccc", or X11 color 
names, such as "lightgray"

Thus:
# This is not colored. @@background-color:lightgray; This has a colored 
background@@ This is stuff after the colored background.

enjoy,
-e

 

-- 
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/a0b3c38a-f6dc-4d8e-88c8-2332fe1ade7a%40googlegroups.com.

Reply via email to