Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlInlineElementConversionContext

Namespace OfficeIMO.Markdown.Html
Assembly OfficeIMO.Markdown.Html
Modifiers sealed

Context passed to custom HTML inline-element converters.

Inheritance

  • Object
  • HtmlInlineElementConversionContext

Usage

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

Accepted by parameters

Methods

public InlineSequence ConvertChildNodesToInlineSequence() #
Returns: InlineSequence

Converts the current element's children into an inline markdown sequence using the current conversion profile.

public InlineSequence ConvertNodesToInlineSequence(IEnumerable<HtmlNode> nodes) #
Returns: InlineSequence

Converts the supplied HTML nodes into an inline markdown sequence using the current conversion profile. Missing collections and null entries contribute no output; non-null nodes must belong to this callback snapshot.

Parameters

nodes System.Collections.Generic.IEnumerable{OfficeIMO.Html.Dom.HtmlNode} requiredposition: 0
public String NormalizeInlineText(String value) #
Returns: String

Normalizes plain inline text using HTML-style collapsed whitespace rules.

Parameters

value System.String requiredposition: 0

Properties

public HtmlElement Element { get; } #

HTML element being converted.

public HtmlToMarkdownOptions Options { get; } #

Active HTML-to-markdown options.