Contents

inlinePresentationIntent

An attribute that provides details for an inline Markdown element.

Declaration

static let inlinePresentationIntent: NSAttributedString.Key

Discussion

The value of this key is an NSNumber that contains a value from the InlinePresentationIntent type. This value indicates the Markdown formatting to apply to the range of text.

The system provides default visual treatments for ranges of text with this attribute. To replace the default visual treatment, remove this attribute and replace it with the formatting options you want.

See Also

Getting Markdown attribute keys