NSPresentationIntent
A type that contains the Markdown formatting for blocks of text, like paragraphs, lists, code blocks, and parts of tables.
Declaration
@interface NSPresentationIntent : NSObjectOverview
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
paragraphIntentWithIdentity:nestedInsideIntent:headerIntentWithIdentity:level:nestedInsideIntent:orderedListIntentWithIdentity:nestedInsideIntent:unorderedListIntentWithIdentity:nestedInsideIntent:listItemIntentWithIdentity:ordinal:nestedInsideIntent:codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:blockQuoteIntentWithIdentity:nestedInsideIntent:thematicBreakIntentWithIdentity:nestedInsideIntent:tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:tableHeaderRowIntentWithIdentity:nestedInsideIntent:tableRowIntentWithIdentity:row:nestedInsideIntent:tableCellIntentWithIdentity:column:nestedInsideIntent: