Front End Development Libraries Projects - Build a Markdown Previewer

I’m having trouble using the marked() function and dangerouslySetInnerHTML={{ __html: markdown }}. When I use these two lines of code, my webpage goes blank. Can anyone help me out? Link to my code

Never mind. I found a solution.

1 Like