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

Keep getting unexpected identifier error? anyone has any solution to that?

Open pumasa opened this issue 3 years ago • 2 comments

pumasa avatar Jun 21 '22 05:06 pumasa

Edit models/article.js const marked = require('marked') change to const {marked} = require('marked')

and for each .ejs inside views/articles folder replace bootstrap cdn to "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.1/css/bootstrap.min.css"

Tmax9663 avatar Sep 24 '22 05:09 Tmax9663

thankyou so much @Tmax9663 your solution worked, it saved my entire day from going waste as i am new to js.

case-2 avatar Feb 17 '23 18:02 case-2