Contents

NSPresentationIntent

A type that contains the Markdown formatting for blocks of text, like paragraphs, lists, code blocks, and parts of tables.

Declaration

@interface NSPresentationIntent : NSObject

Overview

An NSPresentationIntent object stores the Markdown semantics for a range of characters in an attributed string. When parsing Markdown into an attributed string, the system sets the value of the presentationIntentAttributeName attribute to an instance of this class. When displaying your string in system views, the system applies a default visual style to match the corresponding information in this type. To replace the system’s default formatting, remove these attributes from your attributed string and apply the formatting you want.

Topics

Creating a presentation intent

Getting the intent identity

Getting header information

Getting list information

Getting table information

Getting code information

See Also

Representing markdown attributes