Skip to content

TurndownServiceRule

Unofficial

A rule that defines how to convert specific HTML elements to Markdown.

Import:

import type { TurndownServiceRule } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface TurndownServiceRule

Properties

Property Type Description
filter TurndownServiceFilter Filter to match HTML elements.
replacement? TurndownServiceReplacementFunction Function that converts the matched element to Markdown.

Links to this page: