[tw5] Re: Specifying the Type attribute for a list
Added to TW-Scripts. On Sunday, March 17, 2019 at 6:33:20 PM UTC+3:30, PMario wrote: > > Hi, > > If you want to set things globally just create a new stylesheet tiddler > with this content > > ol li { list-style-type:upper-alpha; } > ol li li { list-style-type:lower-alpha; } > ol li li li { list-style-type:upper-roman; } > > Using with ordered lists > > # test > ## asdf > ### test > > No extra chars needed. Especially if you need to change something later, > you don't need to think about it, which class to use > > have fun! > mario > > > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/526b2bfc-2c1f-4d1c-84c3-0f1f6c9ce8ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
Hi, If you want to set things globally just create a new stylesheet tiddler with this content ol li { list-style-type:upper-alpha; } ol li li { list-style-type:lower-alpha; } ol li li li { list-style-type:upper-roman; } Using with ordered lists # test ## asdf ### test No extra chars needed. Especially if you need to change something later, you don't need to think about it, which class to use have fun! mario -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dd42b0a7-d9c4-4cc7-8b76-cb7cebc3e2cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
Its quite handy and short. I definitely use it. Thank you! On Saturday, March 16, 2019 at 4:17:32 AM UTC-7, S. S. wrote: > > passingby, > > A little convoluted, but this works: > > > .u { list-style-type:upper-alpha; } > .l { list-style-type:lower-alpha; } > .r { list-style-type:upper-roman; } > .n { list-style-type: none; margin: 0; padding: 0; } > > > > *.u How > **.l about > ***.r that! > .n Your > ***.r fancy > **.l list > *.u works > > > Becomes: > A. How > a. about > I. that! > Your > II. fancy > b. list > B. works > > The WikiText interpretation of a period charachter after the ** *takes > what follows the period as a "class" attribute. > > This: > *.u How > Becomes: > How > > Hope that helps in some way. > > Regards > > > > On Saturday, March 16, 2019 at 12:15:24 AM UTC+7, passingby wrote: >> >> Hello Mervin, >> >> In my use case the lists are just one or two liners items, they do not >> deserve to go into separate tiddlers of their own. But your use of html tag >> and list widget is surely useful in other cases. >> >> Thank 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/53b6b29e-fb3c-4255-aa5c-5b6c5d9acb4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
passingby, A little convoluted, but this works: .u { list-style-type:upper-alpha; } .l { list-style-type:lower-alpha; } .r { list-style-type:upper-roman; } .n { list-style-type: none; margin: 0; padding: 0; } *.u How **.l about ***.r that! .n Your ***.r fancy **.l list *.u works Becomes: A. How a. about I. that! Your II. fancy b. list B. works The WikiText interpretation of a period charachter after the ** *takes what follows the period as a "class" attribute. This: *.u How Becomes: How Hope that helps in some way. Regards On Saturday, March 16, 2019 at 12:15:24 AM UTC+7, passingby wrote: > > Hello Mervin, > > In my use case the lists are just one or two liners items, they do not > deserve to go into separate tiddlers of their own. But your use of html tag > and list widget is surely useful in other cases. > > Thank 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3eadd1ea-0417-48bd-acac-e8f8483313fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
Hello Mervin, In my use case the lists are just one or two liners items, they do not deserve to go into separate tiddlers of their own. But your use of html tag and list widget is surely useful in other cases. Thank you On Friday, March 15, 2019 at 9:31:55 AM UTC-7, mervin mecklenburg wrote: > > If I understand the question, you can also try this. The Type attribute > for HTML can be used with the $list widget as follows: > > > <$list filter="[tag{!!title}!has[stop]]"> > <$transclude tiddler={{!!title}} mode="block" /> > > > Also, the list widget can be nested to insert sublists. For example, I > use the following to create a formal outline for my notes: > > <$list filter="[tag{!!title}!has[stop]]"> > <$link to={{!!title}}><$view field="title"/> > > > <$transclude tiddler={{!!title}} mode="block" /> > > <$list filter="[tag{!!title}!has[stop]]"> > <$link to={{!!title}}><$view field="title"/> > > > <$transclude tiddler={{!!title}} mode="block" /> > > <$list filter="[tag{!!title}!has[stop]]"> > <$link to={{!!title}}><$view field="title"/> > > > <$transclude tiddler={{!!title}} mode="block" /> > > <$list filter="[tag{!!title}!has[stop]]"> > <$link to={{!!title}}><$view field="title"/> > > > <$transclude tiddler={{!!title}} mode="block" /> > > <$list filter="[tag{!!title}!has[stop]]"> > <$link to={{!!title}}><$view field="title"/> > > > <$transclude tiddler={{!!title}} mode="block" /> > > > > > > I hope this is useful. > > Merv > > > > On Wednesday, March 13, 2019 at 3:32:48 PM UTC-6, passingby wrote: >> >> Is the a wiki text way to specify the list item type like '1' 'A' 'a' 'I' >> 'i' and their start attribute ? or do we have to define and use custom css >> classes? >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/da89bf99-0d29-4798-9596-08c7a0614f9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
If I understand the question, you can also try this. The Type attribute for HTML can be used with the $list widget as follows: <$list filter="[tag{!!title}!has[stop]]"> <$transclude tiddler={{!!title}} mode="block" /> Also, the list widget can be nested to insert sublists. For example, I use the following to create a formal outline for my notes: <$list filter="[tag{!!title}!has[stop]]"> <$link to={{!!title}}><$view field="title"/> <$transclude tiddler={{!!title}} mode="block" /> <$list filter="[tag{!!title}!has[stop]]"> <$link to={{!!title}}><$view field="title"/> <$transclude tiddler={{!!title}} mode="block" /> <$list filter="[tag{!!title}!has[stop]]"> <$link to={{!!title}}><$view field="title"/> <$transclude tiddler={{!!title}} mode="block" /> <$list filter="[tag{!!title}!has[stop]]"> <$link to={{!!title}}><$view field="title"/> <$transclude tiddler={{!!title}} mode="block" /> <$list filter="[tag{!!title}!has[stop]]"> <$link to={{!!title}}><$view field="title"/> <$transclude tiddler={{!!title}} mode="block" /> I hope this is useful. Merv On Wednesday, March 13, 2019 at 3:32:48 PM UTC-6, passingby wrote: > > Is the a wiki text way to specify the list item type like '1' 'A' 'a' 'I' > 'i' and their start attribute ? or do we have to define and use custom css > classes? > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f4634d00-79de-4b7e-8c24-27401cd9ade3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
On Wednesday, March 13, 2019 at 9:10:06 PM UTC-7, S. S. wrote: > > Search this google group for: > Change bullet list css lower-alpha > > Regards > Thank you S. S. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5d5bb8ab-5fa5-4eee-b943-73a79f85c0f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
Thank you. This is just as I thought. I only wanted to make sure I am not missing some tiddlywiki shorthand. Right now I am sometimes in a need of starting a list from a mid value. Like (iv) or something and then sublists with 'a' or 'A'. I am using inline html tag like . This is working fine but I wanted to know if there was a shorthand which will reduce the typing. On Wednesday, March 13, 2019 at 4:56:12 PM UTC-7, PMario wrote: > > On Wednesday, March 13, 2019 at 10:32:48 PM UTC+1, passingby wrote: >> >> Is the a wiki text way to specify the list item type like '1' 'A' 'a' 'I' >> 'i' and their start attribute ? or do we have to define and use custom css >> classes? >> > > CSS attributes. see: > https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#Values > and > https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_lists#Bullet_styles > > -m > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/48b6bd73-dfc5-4e94-88e1-a46c0fed888e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Specifying the Type attribute for a list
On Wednesday, March 13, 2019 at 10:32:48 PM UTC+1, passingby wrote: > > Is the a wiki text way to specify the list item type like '1' 'A' 'a' 'I' > 'i' and their start attribute ? or do we have to define and use custom css > classes? > CSS classes. see: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#Values and https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_lists#Bullet_styles -m -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e5f6cd76-a90e-4d6e-ae91-881ab68796ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.