Is there a way to convert a plain text string containing Markdown text (i.e., # heading
, * list item
, [a link](http://example.com)
, etc.) to an NSAttributedString
in Swift? I suppose I could perform some kind of regex search for the indices of certain MD patterns and create the attributed string from that, but that seems clunky and feels wrong to me.
Is there an easier method?