On Monday, June 29, 2020 at 12:12:20 PM UTC-7, Mark Green wrote: > > Thanks! That's great! > There is however a small problem that's come up as well. I'd like to > display the warnings - all of them if possible - in a table.So I tried this: > <$list filter="[all[current]tag[Obsolete]]"> > | !Obsolete | This function is obsolete. | > </$list> > <$list filter="[all[current]tag[Unsafe]]"> > | !Unsafe | This function is unsafe. | > </$list> > The problem is that if I write it like this, it doesn't put a newline > after each line of the table when rendering the list, so it isn't displayed > as a table. > However, if I insert a blank line before each of the table entries, then > it ends the entire paragraph before each table line and it displays as a > series of one-line tables instead of a single one. > Using HTML <br> divides the text into lines, but the | | |s are then not > recognized as a table. There seems not to be an option for "I want a > newline here for the purpose of your parser, but that might not mean a > newline in the output". Can this be done? >
TiddlyWiki table formatting (using "|foo|bar|" syntax) works well enough for simple tables, but doesn't really handle generated table output where there is intervening syntax in between each row (like the $list widgets in your example) The best way to work around the limitations is use HTML syntax, like this: <table> <$list filter="[all[current]tag[Obsolete]]"> <tr><th> Obsolete </th><td> This function is obsolete. </td></tr> </$list> <$list filter="[all[current]tag[Unsafe]]"> <tr><th> Unsafe </th><td> This function is unsafe. </td></tr> </$list> </table> 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/2a0bc64f-12dd-49c1-8d2b-1e6bcfe4b78eo%40googlegroups.com.

