You just specify the styling you want, and wrap the @@...@@ around the 
item(s), leave out the element, since you can only wrap around a single 
element (or nested elements). The following all work...

``` 
@@list-style-type:decimal;
* list item
* list item
@@

@@list-style-type:lower-roman;
* list item
* list item
@@

@@list-style-type:circle;
* list item
* list item
@@
``` 

On Wednesday, September 2, 2020 at 4:25:39 AM UTC-7 talha131 wrote:

> TiddlyWiki documentation mentions @@ construction here 
> <https://tiddlywiki.com/#Styles%20and%20Classes%20in%20WikiText>.
>
> It says you can do
>
> @@background-color:red;
> Your text
> @@
>
> How can I use this construction to apply style to a particular element? 
> Like,
>
> li {list-style-type: decimal; }
>
> I tried 
>
> @@li {list-style-type: decimal; }
>
> But it does not work.
> Question 2 
>
> Document mentions
>
> @@background-color:red;
> Your text
> @@
>
> But this also works
>
> @@background-color:red;
> @@
>
> Your text
> More text
>
> Notice that there is no next between @@, but the rule gets applied to the 
> whole tiddler.
>
> Is this syntax correct to use? Or is it a bug in TW code?
>

-- 
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/254256ce-cd4a-4886-b673-eae57fbd05ban%40googlegroups.com.

Reply via email to