How to parse textual math formula in swift-markdown to display as shown in the picture

How to parse textual math formula in swift-markdown to display as shown in the picture