From edc5a2780dde92da7ef9c59186356abfae71fbe9 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 8 Nov 2023 22:14:48 +0100 Subject: [PATCH] small visual changes --- index.html | 2 +- main.js | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 7c8a0f3..94ebfdb 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ notes - + diff --git a/main.js b/main.js index eba1673..294a812 100644 --- a/main.js +++ b/main.js @@ -1952,13 +1952,14 @@ function rawline(index) var emptyline = "
"; function rawline2html(line, index, options) { + var shadow = "0.75px 0 0"; line = escapeHtml(line); // headings if (line.startsWith("#")) { line = line.replace(/(#* )/, "$1"); // to check! - line = "" + line + ""; + line = "" + line + ""; } // bold and italics @@ -1967,7 +1968,7 @@ function rawline2html(line, index, options) { temp = line.substring(2); } - temp = temp.replace(/\*\*([^\*]*)\*\*/g, "**$1**"); + temp = temp.replace(/\*\*([^\*]*)\*\*/g, "**$1**"); temp = temp.replace(/\*([^\*]*)\*/g, "*$1*"); if (line.startsWith("* ")) @@ -2093,8 +2094,8 @@ function rawline2html(line, index, options) } else { - line = line.replace(/(\(\w\))/g, "$1"); - line = line.replace(/(@\w*)/g, "$1"); + line = line.replace(/(\(\w\))/g, "$1"); + line = line.replace(/(@\w*)/g, "$1"); line = line.replace(/(\s\+\w*)/g, "$1"); } }