Markdown previewer - how to use it in react

Hi FreeCodeCampers,

I created the bare bones of what would be the mark down previewer here:

https://codepen.io/Egglearn/pen/oNXeqEq

However, not sure how to proceed when it comes to actually adding markdown, I have added it in the setting as a library but not sure how to ‘use it’

Thanks