Get Updates By E-mail 

Subscriber Counter
Article Written By:
Johann Dowa

Library That Turns An NSString With Markdown Tags Into An NSAttributedString W/Core Text Formatting

I’ve mentioned a number of resources for creating rich text views, most recently the excellent SETextView.

Here’s an open source library from Jeff Verkoeyen called NSAttributedMarkdownParser that allows you to turn an NSString containing markdown tags into an NSAttributedString.

The library supports bold, italics, strikethrough,  header and url formatting.

Here are a few images from the included catalog example project showing the markdown text rendered as Core Text:

NSAttributedStringMarkdownParser-1NSattributedStringMarkdownParser-2NSattributedStringMarkdownParser-3

You can find NSAttributedStringMardownParser on Github here.

A nice easy way to format your strings.

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments