MarkdownPreviewRenderer.applyScrollSection method
MarkdownPreviewRenderer › applyScrollSection
Unofficial
Scrolls the preview so the given section is at the top.Signature:
applyScrollSection(section: unknown): boolean | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| section | unknown | The section to scroll to. |
Returns: boolean | undefined — true when the scroll was applied, otherwise undefined.