diff --git a/editor/src/editor.js b/editor/src/editor.js index 1c327c4..f6ebf18 100644 --- a/editor/src/editor.js +++ b/editor/src/editor.js @@ -358,7 +358,7 @@ function Editor(holder, input) { let re = /^([A-Z0-9 ]+)::\s*(.+)$/i; let res = text.match(re) if (res) { - converted = '**[[' + res[1] + ']]**: ' + res[2] + converted = '[[' + res[1] + ']]: ' + res[2] } else if (text.match(/#\[\[TODO]]/)) { converted = converted.replace('#[[TODO]]', '') todo = true; diff --git a/editor/src/styles.scss b/editor/src/styles.scss index 523e813..9a28acc 100644 --- a/editor/src/styles.scss +++ b/editor/src/styles.scss @@ -48,14 +48,20 @@ body { font-family: 'Inter', sans-serif; } -.content a.wiki-link::before { - content: "[["; - color: #ccc; +.highlight-links { + .content a.wiki-link::before { + content: "[["; + color: #ccc; + } + .content a.wiki-link::after { + content: "]]"; + color: #ccc; + } } -.content a.wiki-link::after { - content: "]]"; - color: #ccc; +.metadata-key a { + font-weight: bold; + color: black; } @supports (font-variation-settings: normal) {