1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Fix: add tc-tiddlylink-external to markdown links (#4862)

This commit is contained in:
Gerald 2020-09-25 20:07:36 +08:00 committed by GitHub
parent 4cd6a24431
commit 5bf810408a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {