Marked text only partially working

Tell us what’s happening:
codepen: https://codepen.io/dletulle/pen/oNYZjXN?editors=0111

I’m using the same version of marked.js as the example. Certain elements of markdown are working as intended, others are not. The code with three ticks is not working as intended, but I do notice it recognizes it since it disappears them from the preview, but doesn’t wrap it in . Also block quotes are not working either.
Any ideas what I’ve done wrong?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.

Challenge: Build a Markdown Previewer

Link to the challenge:

Have you looked at the HTML the marked library is producing for blockquotes? It seems like it is working for me.

Now if you are referring to the styling of the blockquotes, that’s something you have to provide. The markdown library only produces the HTML, not the styling.

1 Like

I didn’t even realize that… :man_facepalming:
I’ll take this as a lesson to inspect with chrome web dev tools next time. Thank you for your help. :smiley: