I should have done just a little more digging before posting, and I would have found this great library that uses cmark under the hood.

Jared Sorge @jsorge