R
fn

addMark

tested

Add a mark across the current (same-block) range.

Signature

ts
export function addMark(type: string, attrs?: Attrs): Command{ ... }

Parameters

ParameterTypeDescription
typestring
attrs?Readonly<Record<string, import("..").AttrValue>> | undefined

Returns

Command