mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-23 03:03:14 +00:00
use testcases for toc documentation
This commit is contained in:
parent
a44fb50cf7
commit
946bf46da0
@ -13,6 +13,7 @@ title: $:/core/ui/TestCaseTemplate
|
||||
testActions="Actions"
|
||||
testHideIfPass=<<hideIfPass>>
|
||||
>
|
||||
<$data $compound-tiddler={{!!import-compound}}/>
|
||||
<$data $compound-tiddler=<<currentTiddler>>/>
|
||||
<$data title="Description" text={{!!description}}/>
|
||||
</$testcase>
|
||||
|
@ -1,6 +1,6 @@
|
||||
created: 20240204164038858
|
||||
modified: 20240204164143744
|
||||
modified: 20240724102624904
|
||||
title: $:/config/TextEditor/EditorHeight/Mode
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
fixed
|
||||
auto
|
@ -0,0 +1,6 @@
|
||||
created: 20240724102117494
|
||||
modified: 20240724102117494
|
||||
title: $:/themes/tiddlywiki/vanilla/settings/editorfontfamily
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
"SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace
|
@ -1,6 +1,6 @@
|
||||
title: Narrative
|
||||
|
||||
* The following code defines a "Simple Table of Contents" using "root" as the base tag.
|
||||
* The following code defines a "Simple Table of Contents" using "root" as the base tag
|
||||
* Click through all the tabs to get additional info
|
||||
|
||||
{{Narrative-extended}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
created: 20240724070813184
|
||||
description: Simple TOC
|
||||
display-format: wikitext
|
||||
modified: 20240724100513345
|
||||
modified: 20240724101415661
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: Examples/TOC/SimpleToc
|
||||
type: text/vnd.tiddlywiki-multiple
|
@ -0,0 +1,18 @@
|
||||
title: Description
|
||||
text: Simple TOC - captionField parameter
|
||||
+
|
||||
title: Narrative-extended
|
||||
|
||||
* The "Fifth" tiddler has an alternative "caption-field"
|
||||
|
||||
+
|
||||
title: Fifth
|
||||
tags: Fourth
|
||||
alt: alt-caption
|
||||
text: 5th
|
||||
+
|
||||
title: Output
|
||||
|
||||
<div class="tc-table-of-contents">
|
||||
<<toc tag:"root" captionField:"alt">>
|
||||
</div>
|
@ -0,0 +1,7 @@
|
||||
created: 20240724104351802
|
||||
description: asdf
|
||||
import-compound: Examples/TOC/SimpleToc
|
||||
modified: 20240724112711726
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: Examples/TOC/SimpleToc/captionField 1
|
||||
type: text/vnd.tiddlywiki-multiple
|
Loading…
x
Reference in New Issue
Block a user