mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-27 07:40:52 -07:00
Add Copy to Clipboard Button to Code Template (#8430)
This commit is contained in:
parent
43b937d350
commit
a620a6cc00
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue