Parsing and rendering Markdown as HTML is very common on the modern web. The content found on this very blog is written in Markdown and rendered to HTML using the https://github.com/thephpleague/commonmark package and a few plugins.
The biggest bottleneck in the process is in fact the conversion of Markdown to HTML.