Skip to content

MarkdownSubView

Official

A sub view of the markdown view.

Import:

import type { MarkdownSubView } from 'obsidian';

Signature:

export interface MarkdownSubView

Methods

MethodReturnsDescription
applyScroll(scroll)voidApply the scroll position.
get()stringGet the markdown content.
getScroll()numberGet the scroll position.
set(data, clear)voidSet the markdown content.

Links to this page: