mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-18 22:20:28 +00:00
2adf09129d
Tada!
16 lines
460 B
Plaintext
16 lines
460 B
Plaintext
title: $:/core/macros/translink
|
|
tags: $:/tags/Macro
|
|
|
|
\define translink(title,mode:"block")
|
|
<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
|