I have two large problems with what I made.
dangerouslySetInnerHTMLto render the marked text. But I’m uncomfortable with this solution since setting innerHTML is a risky and often times poor practice in general.
I honestly have no idea how to get links rendered with markup to open in new tags. I honestly think that’s harder than getting the parser to recognize carriage returns as
<br>tags. I have not seen a good way to add
target="_blank"to my link tags in markup at all.
Any other criticism is also welcome but these were the two glaring issues I saw.