Document.plain constructor

Document.plain(
  1. _BlockParserBuilder _blockParserBuilder,
  2. _InlineParserBuilder _inlineParserBuilder, {
  3. ExtensionSet? extensionSet,
  4. Resolver? linkResolver,
  5. Resolver? imageLinkResolver,
  6. dynamic options,
  7. bool encodeHtml = true,
  8. bool checkable = false,
  9. bool emptyListDisabled = false,
})

A lightweight, full-customized document.

Implementation

Document.plain(
    this._blockParserBuilder, this._inlineParserBuilder, {
    ExtensionSet? extensionSet,
    this.linkResolver,
    this.imageLinkResolver,
    this.options,
    this.encodeHtml = true,
    this.checkable = false,
    this.emptyListDisabled = false,
  }): extensionSet = extensionSet ?? ExtensionSet.commonMark;