PEG Markdown Highlight
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
PEG Markdown Highlight Documentation

Objective-C / Cocoa

For a fairly automatic solution for syntax highlighting an NSTextView in a Cocoa application, see HGMarkdownHighlighter.

C

For parsing a Markdown document for syntax highlighting purposes in any C program, see pmh_markdown_to_elements().

Stylesheets

See The Syntax of PEG Markdown Highlight Stylesheets for an overview of how to write stylesheets.

For parsing stylesheets in C, see pmh_parse_styles().

For parsing stylesheets in Objective-C (Cocoa), see applyStylesFromStylesheet:withErrorDelegate:errorSelector: (HGMarkdownHighlighter).