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