Skip to content

MarkdownPreviewScrollOptions

Unofficial

Options for MarkdownPreviewRenderer.applyScroll.

Import:

import type { MarkdownPreviewScrollOptions } from 'obsidian';

Signature:

export interface MarkdownPreviewScrollOptions

Properties

Property Type Description
center? boolean Whether to center the scroll target in the viewport.
highlight? boolean Whether to highlight the scroll target.