This repository was archived by the owner on Oct 17, 2021. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 12
Document_ParsingOptions_Position_Error
        mattt edited this page Feb 7, 2020 
        ·
        1 revision
      
    An error when creating a document.
public enum ErrorSwift.Error
Document.ParsingOptions.Position.Error.RenderingFormat
A document couldn't be constructed with the provided source.
case invalidpublic convenience init(children: [Block & Node] = [])Creates a document from a CommonMark string.
public convenience init(_ commonmark: String, options: ParsingOptions = []) throws- Parameter commonmark: A CommonMark string.
- 
Document.Error.invalidif a document couldn't be constructed with the provided source.
var cmark_node_type: cmark_node_typeGenerated at 2021-03-03T19:19:22+0000 using swift-doc 1.0.0-beta.5.
Types
- BlockQuote
- Code
- CodeBlock
- CommonMarkBuilder
- Document
- Document.Error
- Document.ParsingOptions
- Document.Position
- Emphasis
- ForEach
- Fragment
- HTMLBlock
- HardLineBreak
- Heading
- Image
- Link
- List
- List.Delimiter
- List.Item
- List.Kind
- Node
- Node.RenderingFormat
- Node.RenderingOptions
- Paragraph
- RawHTML
- Section
- SoftLineBreak
- StringBuilder
- Strong
- Text
- ThematicBreak
- VisitorContinueKind