rewrite in vanilla js
This commit is contained in:
parent
590aec5260
commit
e1ea47052d
4 changed files with 10 additions and 29 deletions
|
|
@ -16,7 +16,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
invoke("parse_markdown", { document: text }).then(
|
||||
(ret)=>{
|
||||
var tag_id = document.getElementById('rendered_markdown');
|
||||
tag_id.innerHTML = ret;
|
||||
tag_id.innerHTML = "<pre>".concat("", ret).concat("", "</pre>");
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue