-
Deimos authored
An example was recently added to the github cmark repo to show how to set up the extensions from Python, so this is heavily based on that code: https://github.com/github/cmark/blob/master/wrappers/wrapper_ext.py This should also fix a memory leak, since I wasn't manually freeing the returned buffer (as the library recommends that you do).
e3842e88