Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

Markdown

Embed the host Markdown editor, define custom chips, and present collaborative document state.

ExportImport pathDescription
defineMarkdownChip@dartwic/interface-sdk/markdownDefines a plugin-owned Markdown chip without exposing the host editor runtime.
MarkdownChannelDropContext@dartwic/interface-sdk/markdownDropped channel, pointer position, and callback for inserting Markdown.
MarkdownChipDefinition@dartwic/interface-sdk/markdownParser, serializer, and render component for a plugin-owned Markdown chip.
MarkdownChipParseResult@dartwic/interface-sdk/markdownMatched source text and typed token returned by a chip parser.
MarkdownChipRenderProps@dartwic/interface-sdk/markdownParsed chip token and selection/edit callbacks supplied to its component.
MarkdownDropAction@dartwic/interface-sdk/markdownLabeled action offered when a channel is dropped into Markdown.
MarkdownLineNumberMode@dartwic/interface-sdk/markdownChoose line numbers for all lines, checkboxes, or no lines.
MarkdownMode@dartwic/interface-sdk/markdownSelect read-only viewing or Markdown editing.
MarkdownRemoteParticipant@dartwic/interface-sdk/markdownRemote participant identity, appearance, selection, and cursor presence.
MarkdownRenderer@dartwic/interface-sdk/markdownShared host Markdown renderer. The host owns React, TipTap, and ProseMirror.
MarkdownRendererHandle@dartwic/interface-sdk/markdownImperative access to Markdown content, remote edits, heading navigation, focus, and presence.
MarkdownRendererProps@dartwic/interface-sdk/markdownContent, editing controls, chips, collaboration, and callbacks for the host Markdown renderer.
MarkdownSelection@dartwic/interface-sdk/markdownDocument selection offsets used for editing and participant presence.