Marked is not a function (Markdown Previewer)

I need help with the Markdown Previewer. In the console, it says Marked down is not a function. Every time I get to the marked-down part. My code disappears when I set dangerouslySetInnerHTML.

If you use an older version of the marked library then it should work. Try using this one:

Actually, that might not be the only change you need to make.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.