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-public-latest';

Signature:

export interface TurndownServiceRule

Properties

PropertyTypeDescription
filterTurndownServiceFilterFilter to match HTML elements.
replacement?TurndownServiceReplacementFunctionFunction that converts the matched element to Markdown.

Links to this page: