Skip to content

RerenderPreviewsParams

Options for rerenderPreviews.

Import:

import type { RerenderPreviewsParams } from '@mnaoumov/obsidian-lib/markdown-view';

Signature:

export interface RerenderPreviewsParams

Properties

PropertyTypeDescription
abortSignal?AbortSignalStops waiting for the renders when aborted, rejecting with the signal's reason. The renders already requested still happen.
appAppThe Obsidian app.
language?null | stringThe code block language whose blocks to render again, matched exactly and case-sensitively, the way Obsidian matches a code block processor's language. Only the sections holding such a block are rendered again, and a view holding none is left alone.

Links to this page: