Tony,

The method you describe cannot overcome this requirement 
<https://github.com/Jermolene/TiddlyWiki5/issues/3624#issuecomment-445157136>
:

*the caption field is generally wikified (and so can include formatting 
> etc.) while the title is rendered as plain text.*
>

The two github issues linked to earlier, specially the older one (#3624 
<https://github.com/Jermolene/TiddlyWiki5/issues/3624> Table of Contents 
toc-caption macro awkward behaviour), discusses this in detail, and the 
reasons why other workable solutions have not been chosen yet. 
 

On Wednesday, February 6, 2019 at 2:09:08 PM UTC+7, TonyM wrote:
>
> S S,
>
> I am not necessarily disagreeing with your suggestion however please 
> consider this solution for captions and titles, noting that there is a link 
> to the tiddler weather or not the caption is used
>
> <$link to={{!!title}} tooltip="Click to open, View"><$view field="caption" 
> format=text><$view field="title" format=text></$view></$view></$link>
>
>
> but if you only want the result as text you can use a (side effect?) feature 
> of the view widget 
>
> that displays its content if no value is returned
>
>
> <$view field="caption" format=text>
>    <$view field="title" format=text></$view>
> </$view>
>
> Which on consideration is a very nice method by which to display something, 
> such as the ability to create a field
>
> if the field does not exist.
>
>
> Regards
>
> Tony
>
>
>

-- 
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/6d215e88-2901-463f-9757-cc953e2c5b76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to