|
|
|
@ -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;
|
|
|
|
|