FCC markdown previewer, requesting feedback

Well I got all my tests passing…
I tried to use flexbox to the best of my understanding, hopefully it comes out on your end ok.