MarkdownViewState
Unofficial
State of a markdown view, as returned by MarkdownView.getState().
Import:
import type { MarkdownViewState } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface MarkdownViewState extends Record<string, unknown>Extends: Record<string, unknown>
Properties
| Property | Type | Description | |
|---|---|---|---|
| backlinkOpts? | unknown | State of the embedded backlinks component, present only while it is shown. | |
| backlinks | boolean | Whether the embedded backlinks are shown. | |
| file? | string | Path of the file in the view, absent when no file is open. | |
| mode | MarkdownViewModeType | Current mode of the view. | |
| source | boolean | Whether the editor is in source mode rather than live preview. |
Links to this page: