Skip to content

Commit

Permalink
Update tutorial.ejs
Browse files Browse the repository at this point in the history
Marked changed their API. Now requires marked.parse() instead of just marked()
  • Loading branch information
anso3 authored Dec 10, 2021
1 parent d8a4fc4 commit ebc8b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/tutorial.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
return hljs.highlightAuto(code).value;
},
});
const markedHTML = marked(r);
const markedHTML = marked.parse(r);
const markedHTMLwithUserData = markedHTML
.replace(/@username/gi, username)
.replace(/@dbPassword/gi, dbPassword);
Expand Down

0 comments on commit ebc8b6a

Please sign in to comment.