1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Merge pull request #920 from xcazin/list-links

Tweak of the list-links macro in order to display caption fields if present
This commit is contained in:
Jeremy Ruston 2014-09-28 20:33:30 +01:00
commit 860a7070a9
3 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,9 @@ tags: $:/tags/Macro
<$list filter="$filter$">
<$subtype$>
<$link to={{!!title}}>
<$transclude field="caption">
<$view field="title"/>
</$transclude>
</$link>
</$subtype$>
</$list>

View File

@ -2,6 +2,7 @@ created: 20140320230543190
modified: 20140916121854696
tags: HelloThere Community
title: Examples
caption: Examples of ~TiddlyWiki being used in the wild
type: text/vnd.tiddlywiki
This collection showcases inspiring and interesting examples of TiddlyWiki being used in the wild.

View File

@ -7,7 +7,7 @@ The list macro is a family of macros that produce a list of tiddlers.
There are several variants of the macro:
* `<<list-links>>` produces a list of links to tiddlers that match a filter expression
* `<<list-links>>` produces a list of links to tiddlers that match a filter expression. If the tiddler has a //caption// field, it is displayed in lieu of the //title// field.
! Parameters