Help a newbie to use marked library

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: ***

How can i use this library?

link to the project page:

Copy the script tag for the library from the page and add it to your html body. Then use window.marked inside your app. See the documentation at

1 Like

Thanks mate for the answer, i’ve already used it by installing it with npm install marked, but you showed me another way thank you!

1 Like