AttributedString with Markdown in UILabel doesn't render any attributes?

Have I done something silly in trying to get a UILabel to render an AttributedString in Markdown? I'm converting the AttributedString to an NSAttributedString using the conversion initializer, but it doesn't just lose some of the formatting - it loses all of it, as though it's not an attributed string at all.

Filed as FB9179373 in case this is a bug, and not me doing something incorrectly.

Please include code as text, do not use image.

Accepted Answer

The parameter label markdown: is missing in your code.

Fair enough, my bad. I included it as an image in the Feedback I filed and didn't think to just copy the code over this morning. 🤦‍♂️

AttributedString with Markdown in UILabel doesn't render any attributes?
 
 
Q