Markdown previewer project marked js question

Markdown previewer project marked js question


Are we supposed to go through the tutorials on the marked js github site to find out how the api works?


I think i got it working


My output is now coming out but it shows the html tags alongside with it. Is this where I am suppose to render the markdown into valid html?


I have been looking at other people’s help posts regarding this question, but I still feel sort of lost. I see some people mention an attribute dangerously set HTML. How did others find out about this? I can’t find mention of it in the marked js documentation. I have been trying to properly display my marked strings without the tags but I cannot find out how to take them off. I know that some tags have to be styled. I just can’t find answers in the documentation.