Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Document_ParsingOptions

mattt edited this page Feb 7, 2020 · 4 revisions

Document.ParsingOptions

Options for parsing CommonMark text.

public struct ParsingOptions: OptionSet

Inheritance

OptionSet

Nested Types

Document.ParsingOptions.Position

Initializers

init(rawValue:)

public init(rawValue: Int32 = CMARK_OPT_DEFAULT)

Properties

rawValue

var rawValue: Int32

smart

Convert ASCII punctuation characters to "smart" typographic punctuation characters.

let smart = RenderingOptions(rawValue: CMARK_OPT_SMART)
Clone this wiki locally