MarkdownSubView
Official
A sub view of the markdown view.
Import:
import type { MarkdownSubView } from 'obsidian';Signature:
export interface MarkdownSubViewMethods
| Method | Returns | Description | |
|---|---|---|---|
| applyScroll(scroll) | void | Apply the scroll position. | |
| get() | string | Get the markdown content. | |
| getScroll() | number | Get the scroll position. | |
| set(data, clear) | void | Set the markdown content. |
Links to this page: