Markdown Preview Project

I believe I have done everything i need to do to pass the Markdown Preview Project for the Front End Deve Cert. However I am not sure what the issue is exactly, what am I missing?

Here is a LINK to the project.

If anyone can help I would appreciate it. Cheers

The marked import isn’t working. Remove the import and use the “Add External Scripts/Pens” to add it instead. Then use the parse method with it marked.parse()

awesome it worked, thanks a bunch… but how did you know to do that?

Because I have read the docs including the release notes for version 4

  • When using marked in a script tag use marked.parse(...) instead of marked(...)

When you use the “Add External Scripts/Pens” on Codepen it is added using a script tag.

1 Like