Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

HtmlUnknownTagHandling

Namespace OfficeIMO.Markdown.Html
Assembly OfficeIMO.Markdown.Html
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how HTML-to-Markdown conversion handles elements that do not map to a built-in Markdown construct.

Inheritance

  • Enum
  • HtmlUnknownTagHandling

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const HtmlUnknownTagHandling Preserve #

Preserve the original HTML for the unsupported element when the matching preserve option is enabled.

Value: 0
public const HtmlUnknownTagHandling Drop #

Drop the unsupported element and its children.

Value: 1
public const HtmlUnknownTagHandling Bypass #

Ignore the unsupported element wrapper and convert its children.

Value: 2
public const HtmlUnknownTagHandling Raise #

Fail conversion when an unsupported element is encountered.

Value: 3