ConversionOptions constructor

ConversionOptions({
  1. HeadingStyle headingStyle = HeadingStyle.atx,
  2. ListIndentType listIndentType = ListIndentType.spaces,
  3. int listIndentWidth = 2,
  4. String bullets = '-',
  5. String strongEmSymbol = '*',
  6. bool escapeAsterisks = true,
  7. bool escapeUnderscores = true,
  8. bool escapeMisc = false,
  9. bool escapeAscii = false,
  10. String codeLanguage = '',
  11. bool autolinks = true,
  12. bool defaultTitle = false,
  13. bool brInTables = false,
  14. HighlightStyle highlightStyle = HighlightStyle.standard,
  15. bool extractMetadata = false,
  16. WhitespaceMode whitespaceMode = WhitespaceMode.normal,
  17. bool stripNewlines = false,
  18. bool wrap = false,
  19. int wrapWidth = 80,
  20. bool convertAsInline = false,
  21. String subSymbol = '~',
  22. String supSymbol = '^',
  23. NewlineStyle newlineStyle = NewlineStyle.lf,
  24. CodeBlockStyle codeBlockStyle = CodeBlockStyle.fenced,
  25. List<String> keepInlineImagesIn = const [],
  26. PreprocessingOptions preprocessing = const PreprocessingOptions(),
  27. String encoding = 'utf-8',
  28. bool debug = false,
  29. List<String> stripTags = const [],
  30. List<String> preserveTags = const [],
  31. bool skipImages = false,
  32. LinkStyle linkStyle = LinkStyle.inlined,
  33. OutputFormat outputFormat = OutputFormat.standard,
  34. bool includeDocumentStructure = false,
  35. bool extractImages = false,
  36. int maxImageSize = 5242880,
  37. bool captureSvg = false,
  38. bool inferDimensions = false,
  39. int? maxDepth,
  40. List<String> excludeSelectors = const [],
})

Implementation

ConversionOptions({
  this.headingStyle = HeadingStyle.atx,
  this.listIndentType = ListIndentType.spaces,
  this.listIndentWidth = 2,
  this.bullets = '-',
  this.strongEmSymbol = '*',
  this.escapeAsterisks = true,
  this.escapeUnderscores = true,
  this.escapeMisc = false,
  this.escapeAscii = false,
  this.codeLanguage = '',
  this.autolinks = true,
  this.defaultTitle = false,
  this.brInTables = false,
  this.highlightStyle = HighlightStyle.standard,
  this.extractMetadata = false,
  this.whitespaceMode = WhitespaceMode.normal,
  this.stripNewlines = false,
  this.wrap = false,
  this.wrapWidth = 80,
  this.convertAsInline = false,
  this.subSymbol = '~',
  this.supSymbol = '^',
  this.newlineStyle = NewlineStyle.lf,
  this.codeBlockStyle = CodeBlockStyle.fenced,
  this.keepInlineImagesIn = const [],
  this.preprocessing = const PreprocessingOptions(),
  this.encoding = 'utf-8',
  this.debug = false,
  this.stripTags = const [],
  this.preserveTags = const [],
  this.skipImages = false,
  this.linkStyle = LinkStyle.inlined,
  this.outputFormat = OutputFormat.standard,
  this.includeDocumentStructure = false,
  this.extractImages = false,
  this.maxImageSize = 5242880,
  this.captureSvg = false,
  this.inferDimensions = false,
  this.maxDepth,
  this.excludeSelectors = const [],
});