Now that is one even more general solution to an even more recurring problem (ie. broken bullet lists). And so simple at that ! Thank you!!
<:-) P.S Now the mystery arises how the heck Eric can get his indentation so perfect on the google forum!!? LOL! (I minor detail for anyone copy-pasting direclty, there's a missing } On Jul 8, 3:04 pm, Eric Shulman <[email protected]> wrote: > > pmario's solution does the trick, ie. in StyleSheet, add: > > .myIndent {display: block; margin-left: 3em;} > > Here's another CSS trick that works with bullets at all levels, and > does not need any StyleSheet definition at all: simply put a CSS- > wrapper around the extra lines of indented content, and make sure to > start the wrapper on the end of the first line of the bullet item (the > one with the *). Because the CSS wrapper starts on that first line, > the content within the wrapper is formatted with the same indentation. > > Thus, the following TW syntax: > > * text for item #1 {{wrapper{ > more content > > including blank lines as desired}}} > ** text for item #1.1{{wrapper{ > 2nd level extra lines > etc}} > * text for item #2 > * text for item #3 > > results in: > > * text for item #1 > more content > > including blank lines as desired > * text for item #1.1 > 2nd level extra lines > etc > * text for item #2 > * text for item #3 > > Note how the indent matches the current bullet item regardless of the > level, rather than being a fixed amount (e.g., "margin-left: 3em"). > Also note that the CSS classname "wrapper" is a placeholder. It > doesn't need to be defined in the StyleSheet, since it's only purpose > is to create a 'container element' to hold the extra lines of bullet > item content. > > In your original fET loop, you wrote: > ----------- > <<forEachTiddler where 'tiddler.tags.contains("tag1")' > write '"* [["+tiddler.title+"]]\n{{indent{<<tiddler > [["+tiddler.title > +"]]$))}}}\n\n"' > ----------- > > Try this: > change the CSS classname (from "indent" to some placeholder) and move > the "\n" to follow the opening of the CSS wrapper, like this: > ----------- > <<forEachTiddler where 'tiddler.tags.contains("tag1")' > write '"* [["+tiddler.title+"]]{{wrapper{\n<<tiddler > [["+tiddler.title > +"]]$))}}}\n\n"' > ----------- > > enjoy, > -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

