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:
parent
46d323c902
commit
06758183d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user