Skip to content

@sqlrooms/documents / createMarkdownDocumentCommands

Function: createMarkdownDocumentCommands() ​

createMarkdownDocumentCommands<TRoomState>(): RoomCommand<TRoomState>[]

Creates the room command family for Markdown document artifacts.

Type Parameters ​

Type ParameterDefault type
TRoomState extends MarkdownDocumentCommandStateMarkdownDocumentCommandState

Returns ​

RoomCommand<TRoomState>[]