[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread Eric Shulman
On Wednesday, September 9, 2020 at 9:44:34 AM UTC-7, talha131 wrote: > > Your `div` trick solve the issue. > The trick is goes all the way back to the original TiddlyWiki Classic days, and is described here: https://tiddlywiki.com/#Lists%20in%20WikiText (scroll to the bottom of the tiddler

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread talha131
Just two days ago I was facing this problem # item 1 # item 2 ``` code ``` # item 3 I was wondering how to make it work in TW. In some flavors of Markdown intending the code line does the trick and the numbering continues from the previous number. In AsciiDoc, you can tell the markup to

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread Brian Radspinner
Somewhere else in this group, it was stated that a blank line is needed *after any HTML element* *before using WikiText* to make sure that everything works as needed. So, when I want a more complicated nesting but still use WikiText for less typing, I put a blank line between the HTML and

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread Eric Shulman
On Wednesday, September 9, 2020 at 5:53:17 AM UTC-7, talha131 wrote: > > Thank you Brian. This is exactly what I was looking for. Much appreciated! > Some behavior of the @@ is undocumented. I enabled "tiddlywiki/internals", > plugin to see the raw HTML. I noticed, if @@background-color: red; is

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread talha131
Thank you Brian. This is exactly what I was looking for. Much appreciated! Some behavior of the @@ is undocumented. I enabled "tiddlywiki/internals", plugin to see the raw HTML. I noticed, if @@background-color: red; is not immediately followed a by newline after the semicolon, then the

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-07 Thread Brian Radspinner
Just to give another option, you can nest @@..@@ by adding some HTML around the nested @@...@@: @@list-style-type:decimal; # line # line ** @@list-style-type:lower-alpha; # line # line @@ ** @@ Proper CSS work is probably better, but this could work for quick one-off nested styling. On

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Yeah, Eric. I meant that's the solution I used.  -- 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

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread Eric Shulman
On Sunday, September 6, 2020 at 11:22:37 AM UTC-7, talha131 wrote: > > Thank you Mat. I ended up using your solution. > Just to note... we discussed this just 4 days ago in the topic titled "Regarding list bullets" In fact, this is *exact* same solution that YOU yourself posted, here:

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Thank you Mat. I ended up using your solution. -- 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

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread Mat
@talha131 ...or maybe I should say @@.talha131 ;-) Try this @@.myclass *foo **bar @@ .myclass li {list-style-type: decimal; } .myclass li li {list-style-type: lower-alpha; } i.e you define a new class and apply this class. In the above, the class is defined in a local styleblock. If you

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Thank you Brian. I was trying to achieve something like this li {list-style-type: decimal; } li li {list-style-type: lower-alpha; } But it seems nesting rules using @@ is not possible. ​ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-02 Thread Brian Radspinner
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; *