Skip to content

obsidian/MarkdownEditView

Mock of Obsidian’s MarkdownEditView, the source/live-preview editing mode of a Markdown view.

Class Description
MarkdownEditView Mock of Obsidian’s MarkdownEditView. The text lives in the view’s editor, MarkdownEditView.editor; the scroll position is only remembered. A MarkdownView registers one of these as its source mode, so its editor, getViewData() and data all read this one buffer.