mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 15:46:18 +00:00
8 lines
378 B
Plaintext
8 lines
378 B
Plaintext
title: $:/core/ui/ViewTemplate/body/code
|
|
|
|
<%if [<currentTiddler>is[missing]] %>
|
|
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
|
|
<%else%>
|
|
<$transclude $variable="copy-to-clipboard-above-right" src={{{ [<currentTiddler>get[text]] }}} />
|
|
<$codeblock code={{{ [<currentTiddler>get[text]] }}} language={{{ [<currentTiddler>get[type]else[text/vnd.tiddlywiki]] }}}/>
|
|
<%endif%> |