mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-08-07 11:28:54 +00:00
Improve splash screen macro for rendering icons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user