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"); } }