mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
Add Copy to Clipboard Button to Code Template (#8430)
This commit is contained in:
parent
43b937d350
commit
a620a6cc00
@ -1,3 +1,4 @@
|
||||
title: $:/core/ui/ViewTemplate/body/code
|
||||
|
||||
<$transclude $variable="copy-to-clipboard-above-right" src={{{ [<currentTiddler>get[text]] }}} />
|
||||
<$codeblock code={{{ [<currentTiddler>get[text]] }}} language={{{ [<currentTiddler>get[type]else[text/vnd.tiddlywiki]] }}}/>
|
||||
|
Loading…
Reference in New Issue
Block a user