Skip to content

MarkdownPreviewScrollOptions

Unofficial

Options for MarkdownPreviewRenderer.applyScroll.

Import:

import type { MarkdownPreviewScrollOptions } from 'obsidian';

Signature:

export interface MarkdownPreviewScrollOptions

Properties

PropertyTypeDescription
center?booleanWhether to center the scroll target in the viewport.
highlight?booleanWhether to highlight the scroll target.