API Reference
ReaderHtmlOptions
Options for HTML ingestion pipeline (HTML -> Markdown).
Inheritance
- Object
- ReaderHtmlOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Constructors
public ReaderHtmlOptions() #Methods
public ReaderHtmlOptions Clone() #ReaderHtmlOptionsCreates a copy of the current options instance so reader registrations can reuse templates safely.
Returns
A new ReaderHtmlOptions with cloned nested HTML-to-Markdown options.
public static ReaderHtmlOptions CreateOfficeIMOProfile() #ReaderHtmlOptionsCreates the default OfficeIMO HTML reader profile.
Returns
A new ReaderHtmlOptions instance using the default HTML-to-Markdown profile.
public static ReaderHtmlOptions CreatePortableProfile() #ReaderHtmlOptionsCreates a portable HTML reader profile that favors portable Markdown output.
Returns
A new ReaderHtmlOptions instance using the portable HTML-to-Markdown profile.
public static ReaderHtmlOptions CreateUntrustedHtmlProfile(Int32 maxInputCharacters) #ReaderHtmlOptionsCreates a bounded HTML reader profile for untrusted or size-sensitive HTML ingestion.
Parameters
- maxInputCharacters System.Int32
- Maximum HTML input length accepted by the HTML-to-Markdown stage.
Returns
A new ReaderHtmlOptions instance with a configured HTML input character limit.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Boolean ChunkByHeadings { get; set; } #Starts a new chunk at Markdown headings when possible.
public Encoding InputEncoding { get; set; } #Explicit byte encoding for stream and file input. When null, the reader detects a BOM or HTML meta charset and otherwise uses UTF-8.
public HtmlConversionDocumentOptions ConversionOptions { get; set; } #Shared parsing, trust, URL-policy, and complexity options applied before the reader projects HTML.
public HtmlToMarkdownOptions HtmlToMarkdownOptions { get; set; } #Options passed to HTML-to-Markdown conversion stage.