1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-03 04:39:10 +00:00

toc examples use named params now

This commit is contained in:
pmario 2024-02-06 17:29:13 +01:00
parent eecb7b6954
commit f953c758a0
5 changed files with 11 additions and 14 deletions

View File

@ -1,11 +1,10 @@
caption: Expandable
created: 20150221201816000
modified: 20150221203715000
title: Example Table of Contents: Expandable
caption: Expandable
tags: table-of-contents-example
order: 2
type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents">
<<toc-expandable "Contents">>
<<toc-expandable tag:"Contents">>
</div>"""/>

View File

@ -11,6 +11,6 @@ type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1"
eg="""<$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder">
<div class="tc-table-of-contents">
<<toc-selective-expandable "Contents">>
<<toc-selective-expandable tag:"Contents">>
</div>
</$let>"""/>

View File

@ -1,11 +1,10 @@
caption: Selective
created: 20150221201907000
modified: 20150221203950000
title: Example Table of Contents: Selectively Expandable
caption: Selective
tags: table-of-contents-example
order: 4
type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents">
<<toc-selective-expandable "Contents">>
<<toc-selective-expandable tag:"Contents">>
</div>"""/>

View File

@ -1,11 +1,10 @@
caption: Simple
created: 20150221201838000
modified: 20150221203742000
title: Example Table of Contents: Simple
caption: Simple
tags: table-of-contents-example
order: 1
type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents">
<<toc "Contents">>
<<toc tag:"Contents">>
</div>"""/>

View File

@ -8,5 +8,5 @@ type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents">
<<toc-selective-expandable "Contents" "!sort[title]">>
<<toc-selective-expandable tag:"Contents" sort:"!sort[title]">>
</div>"""/>