mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-20 19:29:43 +00:00
Fix: add tc-tiddlylink-external to markdown links (#4862)
This commit is contained in:
parent
4cd6a24431
commit
5bf810408a
@ -118,6 +118,7 @@ function convertNodes(remarkableTree, isStartOfInline) {
|
|||||||
if (currentNode.href[0] !== "#") {
|
if (currentNode.href[0] !== "#") {
|
||||||
// External link
|
// External link
|
||||||
var attributes = {
|
var attributes = {
|
||||||
|
class: { type: "string", value: "tc-tiddlylink-external" },
|
||||||
href: { type: "string", value: currentNode.href }
|
href: { type: "string", value: currentNode.href }
|
||||||
};
|
};
|
||||||
if (pluginOpts.linkNewWindow) {
|
if (pluginOpts.linkNewWindow) {
|
||||||
|
Loading…
Reference in New Issue
Block a user