Hi PassingBy

> That works! Thank you Mark. But just for understanding, why does the view 
> widget with "plainwikified" format not work?  

The common use cases for the view widget are fairly specialised: displaying 
fields in plain text, and formatting dates. The various encoding and wikified 
formats are primarily for use in TiddlyWiki’s internal templates.

The “plainwikified” format actually wikifies the argument and then extracts the 
plain text of the result. So, plainwikified “jeremy” is “jeremy” but 
plainwikified “<p>jeremy</p>” is still just “jeremy”. That’s almost certainly 
not what you wanted.

If you want to wikify a field then you should use transclusion, either with the 
double curly braces shortcut format or with the <$transclude> widget.

If you want to display a field as plain text then you can use the view widget 
or the text widget. The following are equivalent:

<$text text={{!!myfield}}/>

<$view field="myfield"/>

Best wishes

Jeremy.




> 
> -- 
> 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 tiddlywiki+unsubscr...@googlegroups.com 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To post to this group, send email to tiddlywiki@googlegroups.com 
> <mailto:tiddlywiki@googlegroups.com>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/58a66307-4af2-48dc-bd8c-93531242801a%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/58a66307-4af2-48dc-bd8c-93531242801a%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4CED65DE-B919-4544-90A7-B5AC29187500%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to