Markdown-Blog icon indicating copy to clipboard operation
Markdown-Blog copied to clipboard

Hi! i am following your tutorial, i faced an error, and a simple fix is updated.

Open nishant-ai opened this issue 3 years ago • 0 comments

When I used the "marked" function, the article was not been created, on debugging, I found out that marked is not imported as a function. Error: TypeError: marked is not a function

It might be because of the latest version of marked or something else I'm missing out, So I just imported marked like: const { marked } = require('marked');

I believe this would be helpful for other learners who follow your tutorial! Please Ping me about this issue!

nishant-ai avatar Jul 13 '22 17:07 nishant-ai