9 ms·
Thanks a lot for the link, I was going to write Markdown -> NSAttributedString library myself, because I couldn't find one. Right now I'm just using DTCoreText
by andrew_k 14y ago
Thanks a lot for the link, I was going to write Markdown -> NSAttributedString library myself, because I couldn't find one. Right now I'm just using DTCoreText and convert Markdown to HTML on the server.
- SeoxyS 14y agoYou might also want to look into GitHub's Sundown library. It's an awesome library and being written in pure C, you can use it natively. The reason I wrote myself is that my use case was more markdown highlighting than markdown parsing. I needed to preserve the markdown source untouched, which Sundown doesn't support. https://github.com/vmg/sundown https://github.com/vmg/sundown