Browse Source

New approach, paras, headers, blockquotes working, ul wip

main
Rocketsoup 1 year ago
parent
commit
b1de09b728
2 changed files with 644 additions and 310 deletions
  1. 643
    310
      js/markdown.js
  2. 1
    0
      markdownjs.html

+ 643
- 310
js/markdown.js
File diff suppressed because it is too large
View File


+ 1
- 0
markdownjs.html View File

@@ -7,6 +7,7 @@
7 7
 		<script>
8 8
 			function onDocumentLoad() {
9 9
 				document.getElementById('markdowninput').addEventListener('input', onMarkdownChange);
10
+				setTimeout(onMarkdownChange, 0);
10 11
 			}
11 12
 			function onMarkdownChange() {
12 13
 				let markdown = document.getElementById('markdowninput').value;

Loading…
Cancel
Save