Skip to content

Commit ecf3be8

Browse files
committed
Add details/summary widget
1 parent e96e421 commit ecf3be8

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed
Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
created: 20251107152410791
2-
modified: 20251107165640800
2+
modified: 20251107170212142
33
tags: $:/tags/ViewTemplate
44
title: $:/supp-info/notes/view-template
55
type: text/vnd.tiddlywiki
66

77
<% if [{$:/supp-info/notes/content}jsonget<currentTiddler>] %>
8-
9-
!! Hey, it works
10-
8+
<div class="supp-notes">
119
<$let count={{{ [{$:/supp-info/notes/content}jsonindexes<currentTiddler>last[]add[1]] }}}>
1210

13-
!!! <<count>> Notes
11+
12+
<details>
13+
<summary><<count>> Note(s)</summary>
14+
More content will go here
15+
</details>
1416
</$let>
17+
</div>
1518

19+
<style>
20+
.supp-notes {
21+
background-color: #ffc;
22+
}
23+
</style
1624
<% endif %>

0 commit comments

Comments
 (0)