Skip to content

turndown/internals/TurndownService

InterfaceDescription
TurndownServiceFilterA filter that matches HTML elements by tag name(s) or a custom function.
TurndownServiceFilterFunctionFunction that tests whether a node matches a filter.
TurndownServiceNodeInput node type accepted by TurndownService.turndown().
TurndownServiceOptionsConfiguration options for TurndownService.
TurndownServicePluginA plugin function that extends TurndownService.
TurndownServiceReplacementFunctionFunction that converts an HTML element’s content to Markdown.
TurndownServiceRuleA rule that defines how to convert specific HTML elements to Markdown.
TurndownServiceRulesCollection of rules used by TurndownService for HTML-to-Markdown conversion.
TurndownServiceTagNameTag name filter.