Markdown-Blog
Markdown-Blog copied to clipboard
Hi! i am following your tutorial, i faced an error, and a simple fix is updated.
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!