1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-17 02:49:54 +00:00

Improve splash screen macro for rendering icons

This commit is contained in:
jeremy@jermolene.com 2023-04-23 12:21:11 +01:00
parent 46d323c902
commit 06758183d3

View File

@ -6,8 +6,8 @@ type: text/vnd.tiddlywiki
\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
\define show-icon(title)
<$wikify name="icon" text="{{$title$}}" output="html">
\procedure show-icon(title)
<$wikify name="icon" text={{{ [<title>addprefix[{{]addsuffix[}}]] }}} output="html">
<$text text=<<icon>>/>
</$wikify>
\end