Document.be constructor

Document.be(
  1. BlockParserBuilder _blockParserBuilder,
  2. InlineParserBuilder _inlineParserBuilder, {
  3. Resolver? linkResolver,
  4. Resolver? imageLinkResolver,
  5. bool encodeHtml = true,
  6. bool withDefaultBlockSyntaxes = true,
  7. bool withDefaultInlineSyntaxes = true,
  8. bool hasCustomInlineSyntaxes = false,
  9. bool checkable = false,
  10. bool preserveSpace = false,
  11. dynamic options,
})

Constructs a fully customized Document. Usually used with BlockParser.be and InlineParser.be.

Implementation

Document.be(
  this._blockParserBuilder, this._inlineParserBuilder, {
  this.linkResolver,
  this.imageLinkResolver,
  this.encodeHtml = true,
  this.withDefaultBlockSyntaxes = true, //useless if [BlockParser.be] used
  this.withDefaultInlineSyntaxes = true, //useless if [InlineParser.be] used
  this.hasCustomInlineSyntaxes = false, //useless if [InlineParser.be] used
  this.checkable = false,
  this.preserveSpace = false,
  this.options,
});