🔗 Tag Cloud
\define tag-pill-styles() ---------- copied from $:/core/macros/tag - use $(count)$ to set font-size \define tag-pill-styles() background-color:$(backgroundColor)$; fill:$(foregroundColor)$; color:$(foregroundColor)$; font-size:calc(0.8em + (0.05em * ($(count)$ / 50) ) ); \end
\define tag-pill-inner() ---------- copied from $:/core/macros/tag - added $(count)$ display in pill
\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)
<$vars foregroundColor=<
\end
\define tagcloud_get()
<$list filter="[all[tiddlers]tags[]]">
<$text text="[["/>{{{ [
\end
\define tagcloud_sort()
<$list filter="[enlist
\end
\define tagcloud_showitem()
<$vars count={{{ [
\end
\define tagcloud_showbycount()
<$wikify name="items" text=<
\end
There are ''<$text text={{{ [all[tiddlers]tags[]count[]]" }}}/> tags''
and a total of ''<$text text={{{ [all[tiddlers]tags[]tagging[]count[]]" }}}/>
tagged tiddlers''
<$reveal default="count" type="match" text="count"> <