On Tuesday, September 8, 2020 at 3:41:17 AM UTC+2, TonyM wrote: This is looking fantastic especialy your handling inline now. Thank so much > for your systematic, all inclusive and openness to feedback. Your are a > rare developer in this regard. >
Thanks > Finaly i need to understand, or ensure we have addressed; > > - when your syntax says "name" this is effectivly a html tag name > including arbitary names? > > \tickblock tick=<symbol> tag=<html-tag> endString=<ends a block> mode=<block/inline> use=<name of previous tick= definition> tick=asdf ... will be used in the prose text as: <symbol> is better than <name> since it can be $ or § or & or text ´asdf your text comes here. ---------------------------- tag defaults to: div .... for ticks ... if parameter is missing tag defaults to: p .... for angel ... if parameter is missing ----------------------- endString and mode see text below ---------------------- use= ... is a special parameter eg: \tickblock tick="a-long-name-comes-here" tag=span mode=... endString=... \tickblock tick="$" use="a-long-name-comes-here" If "use" parameter is used, it will search for a definition that already exists. It will ONLY use params from the definition referenced in "use=" It does _not_ use any of its own params if it has some. (this may change ) "use" is important for \importparagmas, to make usage and the text more verbose and meaningful for other readers. Tiddlers that contain "templates" should use "speaking" names. ... Users may want to use short names in the prose text \importpragmas [[table-definitions]] \tickblock tick="h" use="header" \tickblock tick use="cell" the last definition is used in text like so: ´ text comes here. ... It is a shortcut for ´cell This is the "shortest" definition for a complex structure we can have. > > - the difference between \n and \n\n handling > > default mode is inline "tick" defaults to single line break: \n "angel" defaults to souble line break: \n\n Both of them can handle endString if mode=block > > - How we handle applying the same to a block ie content containing > more than one \n or \n\n? > > if mode=block and endString="---" the content in between can have anything. endString can be any character combination you want. EXCEPT whitespace and regexp definitions. I use "---" because it will be rendered as an HL element if the plugin is not installed. ... So the text may make a little bit of sense. have fun! -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev/6675fcaf-f89d-4f8a-9925-2418fbe41140o%40googlegroups.com.
