why does <$list filter="[tag[TableOfContents]]" variable="myvariable"> produces a list starting from the first row in the tiddler
but wrapping the filter in a macro
then calling the macro <<tocmacro>> produces a list starting from the third row with 2 line breaks at the begiuinig , is there a way around that , or am i doing something wrong
Perhaps, Show us the wikis text before and after your lists statmen and a image off the result.
If the list widget only contains a blank line it defaults to bullets
If you place anything inside a list widget it becomes the template for each item listed. This means you need to choose if there is a line break between items.
commonly we use <$link/><br>.
depending on your formatting a blank line at the top of your lists widget content may help
<br><<myvariable>> this says do a new line then display variable. Thus each item starts with a new line. It is better to end with a new line.
thanks tones ,its the screen shot above , bascially i want to wrap a list in a macro then call it , and the problem is it always renders with a line break before the list result
I gave an answer above, but don’t yet have the full explanation, I think there is a line break implied either in the macro or what comes before the macrocall.
This area is in part documented here “Inline Mode WikiText” ands “Block Mode WikiText” on tiddlywiki.com