init(allowsExtendedAttributes:interpretedSyntax:failurePolicy:languageCode:)
Creates a Markdown parsing options instance with the specified values.
Declaration
init(allowsExtendedAttributes: Bool = false, interpretedSyntax: AttributedString.MarkdownParsingOptions.InterpretedSyntax = .full, failurePolicy: AttributedString.MarkdownParsingOptions.FailurePolicy = .throwError, languageCode: String? = nil)Parameters
- allowsExtendedAttributes:
A Boolean value that indicates whether parsing allows extensions to Markdown that specify extended attributes.
- interpretedSyntax:
The syntax for intepreting a Markdown string.
- failurePolicy:
The policy for handling a parsing failure.
- languageCode:
The Bcp47 language code for this document.