obsidian/MarkdownPreviewView
Mock of Obsidian’s MarkdownPreviewView, the reading mode of a Markdown view.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| MarkdownPreviewView | Mock of Obsidian’s MarkdownPreviewView. Nothing is rendered: the text passed to MarkdownPreviewView.set and the scroll position are only remembered. The owning view registers it as its reading mode, so setViewData(data, true) and clear() reach it as they reach the edit mode; the mock is never IN reading mode, so getViewData() never reads it. |