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

PropertyTypeDescription
from?numberThe start line of the subview.
mode?Cm5ModeSpec<unknown> | stringA different mode for the linked document.
sharedHist?booleanWhether to share undo history with the original.
to?numberThe end line of the subview.