TurndownServiceRules.forNode method
TurndownServiceRules › forNode
Unofficial
Find the matching rule for a node.Signature:
forNode(node: HTMLElement): TurndownServiceRuleParameters:
| Parameter | Type | Description |
|---|---|---|
| node | HTMLElement | The HTML element to match. |
Returns: TurndownServiceRule — The matching rule.