From 775c7f00746a5c4d83babdec81e59f4aea3c2e04 Mon Sep 17 00:00:00 2001 From: Max Schillinger Date: Thu, 12 May 2022 23:19:26 +0200 Subject: [PATCH] Markdown: Add link(ify) button and enable shortcut (ctrl-L) (#6691) --- .../tiddlywiki/markdown/EditorToolbar/link.tid | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 plugins/tiddlywiki/markdown/EditorToolbar/link.tid diff --git a/plugins/tiddlywiki/markdown/EditorToolbar/link.tid b/plugins/tiddlywiki/markdown/EditorToolbar/link.tid new file mode 100755 index 000000000..f1a41317f --- /dev/null +++ b/plugins/tiddlywiki/markdown/EditorToolbar/link.tid @@ -0,0 +1,15 @@ +caption: {{$:/language/Buttons/Link/Caption}} (Markdown) +condition: [type[text/x-markdown]] [type[text/markdown]] +description: {{$:/language/Buttons/Link/Hint}} +icon: $:/core/images/link +list-after: $:/core/ui/EditorToolbar/link +shortcuts: ((link)) +title: $:/plugins/tiddlywiki/markdown/EditorToolbar/link +tags: $:/tags/EditorToolbar + +<$action-sendmessage + $message="tm-edit-text-operation" + $param="wrap-selection" + prefix="[" + suffix="]()" +/>