Marked JS - render html tags

My code so far: https://codepen.io/stanleysearles/pen/mdxrQeP

how can I render the HTML tags in the div to display as markdown? I haven’t found anything useful on google except for the dangerouslysetinnerhtml attribute but that doesn’t work and doesn’t render anything. Can one of you help me out please?

I`m assuming you’re linking Html, CSS and Java, or is this a single page. GL

I don’t necessarily have questions for HTML and CSS but only for javascript, it’s about the HTML rendering for marked js