Fix no rendering bug

master
Tait Hoyem 10 months ago
parent 6d96d1e016
commit 07036039c9

@ -71,7 +71,7 @@ const renderHTML = async () => {
const md = new remarkable.Remarkable({
html: true,
});
const markdownInput = document.getElementById("markdown-input");
const markdownInput = document.getElementById("markdown-input").value;
const htmlOutput = document.getElementById("html-output");
const newHtml = md.render(markdownInput);
htmlOutput.innerHTML = newHtml;

Loading…
Cancel
Save