joe,

I don't follow the whole story here, but you should only see this twice in 
the tiddler that is tagged viewtemplate, any other tiddler that has the tag 
should only show it once.

The view templated tiddler shows its content and itself as a result of the 
view template. So you see it twice.

Have you tripped over yourself?

Regards
Tony

On Sunday, December 9, 2018 at 9:27:51 PM UTC+11, joearms wrote:
>
> I want to format tiddlers with a specific tag in a particular way.
>
> I have made two tiddlers
>  
>    1) called mod:lists:reverse:2
>
> With tag 'erlang_code' and content
>
>    %% reverse a list
>
>    reverse([], L) -> L;
>    reverse([H|T], L) -> reverse(T, [H|L]).
>
>     2) a tiddler called  test_formatting with tag $:/tags/ViewTemplate
> and content
>
>     <$list filter="[is[current]tag[erlang_code]]">
>       <button>Compile</button>
>       <pre>
>       {{!!text}}
>       </pre>
>      </$list>
>
> When I do this the text of the tiddler 1 is rendered twice
> (as in the attachment)
>
> How can I get the content to be rendered once inside the body of the $list 
> macro?
>
> Cheers
>
> /Joe
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/d4c7a577-2ffa-4a9d-af24-6af1368f8192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to