mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-26 07:13:15 +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]]
|
\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
|
||||||
|
|
||||||
\define show-icon(title)
|
\procedure show-icon(title)
|
||||||
<$wikify name="icon" text="{{$title$}}" output="html">
|
<$wikify name="icon" text={{{ [<title>addprefix[{{]addsuffix[}}]] }}} output="html">
|
||||||
<$text text=<<icon>>/>
|
<$text text=<<icon>>/>
|
||||||
</$wikify>
|
</$wikify>
|
||||||
\end
|
\end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user