I know you've been asked before about PDF modules. I was thinking it might be better if you could include pandoc behind the scenes and then use the Python wrapper for pandoc. That would probably provide the most universal solution. Not sure what flexibility you have for adding something like pandoc behind the scenes.
That's not really feasible, I'm afraid, for three major reasons:
* It's written in Haskell, so I'd have to find/port a Haskell compiler for iOS first, which is probably not trivial (I don't have any experience with Haskell)
* It has large dependencies that would be quite hard to port (e.g. LaTeX)
* It's released under the GPL, which would mean that all my code would also fall under the GPL if I were to embed it.
Hi all, just linking you to this conversation, where I'm trying to make a md 2 latex markdown extension work. Once it does, I can paste the code into Texpad to compile to PDF locally. Any thoughts appreciated.