From 5bf810408ae341675dfed3d91717055b117ea888 Mon Sep 17 00:00:00 2001 From: Gerald Date: Fri, 25 Sep 2020 20:07:36 +0800 Subject: [PATCH] Fix: add tc-tiddlylink-external to markdown links (#4862) --- plugins/tiddlywiki/markdown/wrapper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/tiddlywiki/markdown/wrapper.js b/plugins/tiddlywiki/markdown/wrapper.js index 47d098cea..803f1a7ca 100755 --- a/plugins/tiddlywiki/markdown/wrapper.js +++ b/plugins/tiddlywiki/markdown/wrapper.js @@ -118,6 +118,7 @@ function convertNodes(remarkableTree, isStartOfInline) { if (currentNode.href[0] !== "#") { // External link var attributes = { + class: { type: "string", value: "tc-tiddlylink-external" }, href: { type: "string", value: currentNode.href } }; if (pluginOpts.linkNewWindow) {