Markdown Issues

Hello People, I wish everbody is doing great and having a happy code,

I need some help, because my code doesn’t work, it shoud be , … I tried to use the marked library but wasn’t possible, I am thinking if codepen has somelimitation when using it free, ??
now I am trying using React-Markdown , but HTML is not being rendered.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Front End Development Libraries Projects - Build a Markdown Previewer

I used marked and it worked. Try adding this line to the JS Settings dialog:

https://cdnjs.cloudflare.com/ajax/libs/marked/2.0.0/marked.min.js

Hello Friend,

Now I changed and Im trying but No, doesn’t work… Im don’t know why,…

Use this version. You currently have https://cdnjs.cloudflare.com/ajax/libs/marked/11.1.0/marked.min.js but the console has this error. TypeError: marked is not a function

If you replace it with version 2 the error clears and you can type into the markdown preview.

Screenshot 2023-12-20 233320
Screenshot 2023-12-20 233306

Hello,

Thanks a lot, It was driving me crazy now it is flowing however is not rendering as it should yet, I need a break as well…
Very apreciated your help !
wish you the best and enjoy the holidays

2 Likes