From ccddffdda8ad30c898ea537811b944149a2bb9bb Mon Sep 17 00:00:00 2001 From: Dale Sande Date: Tue, 20 Dec 2022 20:17:45 -0800 Subject: [PATCH] docs(demo): update marked rendering per version change Changes to be committed: modified: demo/alaska.html --- demo/alaska.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/alaska.html b/demo/alaska.html index 02fdeb6..2687fce 100644 --- a/demo/alaska.html +++ b/demo/alaska.html @@ -20,7 +20,7 @@ fetch('/demo/alaska.md') .then((response) => response.text()) .then((text) => { - const rawHtml = marked(text); + const rawHtml = marked.parse(text); document.querySelector('main').innerHTML = rawHtml; Prism.highlightAll(); });