1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 10:00:34 +00:00
TiddlyWiki5/core/wiki/macros/translink.tid
2022-04-16 17:19:05 +01:00

17 lines
477 B
Plaintext

title: $:/core/macros/translink
tags: $:/tags/Macro
\define translink(title,mode:"block")
\whitespace trim
<div style="border:1px solid #ccc; padding: 0.5em; background: black; foreground; white;">
<$link to="""$title$""">
<$text text="""$title$"""/>
</$link>
<div style="border:1px solid #ccc; padding: 0.5em; background: white; foreground; black;">
<$transclude tiddler="""$title$""" mode="$mode$">
"<$text text="""$title$"""/>" is missing
</$transclude>
</div>
</div>
\end