Need help with Markdown Previewer - Issues with User Story #4 and #6

I’m not sure why but I’m keep facing problems with User Story #4:

When I enter GitHub flavored markdown into the #editor element, the text is rendered as HTML in the #preview element as I type (Hint: You don’t need to parse Markdown yourself - you can import the Marked library for this: https://cdnjs.com/libraries/marked)

and User Story #6:

  1. OPTIONAL BONUS (you do not need to make this test pass): My markdown previewer interprets carriage returns and renders them as
    (line break) elements (HINT: read the Marked.js docs for this one!).

I use markdown-it to render Markdown.
Live preview of my project: markdown-previewer
Source code.

Temporarily move to marked to pass the test :+1:
Ur welcome

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.