Skip to content

Cm5LinkedDocOptions

Unofficial

Options for creating a linked document in CodeMirror 5.

Import:

import type { Cm5LinkedDocOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface Cm5LinkedDocOptions

Properties

Property Type Description
from? number The start line of the subview.
mode? Cm5ModeSpec<unknown> | string A different mode for the linked document.
sharedHist? boolean Whether to share undo history with the original.
to? number The end line of the subview.