diff --git a/static/index.html b/static/index.html index feeb983..789df28 100644 --- a/static/index.html +++ b/static/index.html @@ -5,7 +5,7 @@ - Input org-mode source:
+

Input org-mode source:


This is line 1This is line 2This is line 3
diff --git a/static/script.js b/static/script.js index 06b8c00..6c4478d 100644 --- a/static/script.js +++ b/static/script.js @@ -22,6 +22,7 @@ inputElement.addEventListener("input", async () => { inFlightRequest.abort(); inFlightRequest = null; } + outputElement.innerHTML = ""; let newRequest = abortableFetch("/parse", { method: "POST", diff --git a/static/style.css b/static/style.css index 3822e6a..db98321 100644 --- a/static/style.css +++ b/static/style.css @@ -1,3 +1,28 @@ +h1, h2, h3, h4, h5, h6, h7 { + font-weight: 700; +} +h1 { + font-size: 28px; +} +h2 { + font-size: 24px; +} +h3 { + font-size: 22px; +} +h4 { + font-size: 20px; +} +h5 { + font-size: 18px; +} +h6 { + font-size: 18px; +} +h7 { + font-size: 18px; +} + .code_block { font: 14px/1.4 "Cascadia Mono", monospace; background: #272822ff; @@ -5,8 +30,6 @@ display: table; white-space: break-spaces; padding: 5px; - - /* color for line numbers */ } .code_block > code {