Skip to content
QuireKit MSFE
Developer docs
v0.0.0 · Experimental
Getting startedView Markdown ↗

Features and installation

Choose built-in packages, optional syntax, editing commands and host responsibilities.

Base composition

@quirekit/msfe-core provides editor and extension contracts. StarterKit groups common Markdown behavior. Vue / React adapters retain the application's Provider tree. Pin compatible package versions together; the public API remains experimental.

ts

Configure themes, UI and language support through the relevant guides. You do not need every optional package to start.

StarterKit features

FeatureSource formsEditing entry
HeadingsATX / SetextsetHeading(level)
Bold, emphasis, strikethrough**bold**, *em*, ~~del~~Corresponding toggle commands
Inline and block codeSpans, fences, indented codeLanguage command and native source editing
Links and imagesInline / resolved referencesInsert commands and supported field patches
Lists and tasksOrdered, unordered, task syntaxIndent, outdent, continue and task controls
Quotes and thematic rules> and separatorsNative source and presentation
GFM tablesPipe tablesRow/column commands and native cell text
LiteralsEscapes, entities, breaksSource-neutral presentation

Readable or renderable forms do not all support identical field writes. Check can(), semantic queries and codec support before calling arbitrary attribute updates.

Table and list commands

ts

Related @quirekit/msfe-prose features install these commands. Selection must identify an applicable structure; deleting the last row or column has constraints. Tables remain GFM source, not arbitrary rich-text block containers. See Commands.

Optional Markdown features

These exports come from @quirekit/msfe-markdown-extras and are not all included in StarterKit.

ExtensionSyntaxBoundary
FrontmatterLeading YAML fenceSource presentation, not a business configuration form
DocumentPropertiesOptional YAML property table, requires FrontmatterExplicit installation; source mode preserves the header; can be disabled on the same instance
Subscript / SuperscriptH~2~O / x^2^Distinct from strikethrough; unconfirmed forms retain source
InsertedText / Highlight++added++ / ==marked==Supply corresponding theme styles
Emoji:smile: / optional emoticonsUnicode output; configurable definitions
DefinitionListTerm followed by : definitionMarkdown owns the body
Abbreviations*[HTML]: Hyper Text Markup LanguageSource and lookup index stay separate
FootnotesReferences, definitions, inline notesSource-derived numbering, query and navigation
TypographerQuote and punctuation displaySource-neutral; configurable quotes and work bounds
CalloutQuote with [!NOTE]Role styling, distinct from colon containers
CustomContainer::: warningRegistered types, nesting and disclosure; see Containers
Math$...$ and $$...$$KaTeX preview with source fallback; no structured math commands
Mermaidmermaid fencesOptional asynchronous preview; see Diagrams
ts

Load KaTeX CSS, for example katex/dist/katex.min.css, from the host's global CSS entry. Math and Mermaid accept host preview controls.

Advanced footnote access uses queryFootnotes() and navigateFootnote(); abbreviations use queryAbbreviations(). Queries may be pending. Reuse their indexes and never treat display numbers as permanent IDs.

HTML is separate

@quirekit/msfe-html exports Html, defaulting to source. Html.configure({ rendering: 'safe' }) enables restricted sanitized presentation. Image loading additionally needs explicit allowImage. Scripts, arbitrary HTML editing and unrestricted embedded/browser HTML layout are outside its promise.

Adjust the preference through the package's public functions without rewriting Markdown. Unsupported structures retain source.

Host responsibilities

Storage, files, uploads, routing, permissions, navigation, HTML/PDF export and Yjs integration belong to the host. applyChanges validates revisions but is not a collaboration adapter. markdown-it, ProseMirror and Tiptap plugins cannot install directly; see Markdown plugins.

Continue with nodes, containers, diagrams, themes or saving.

MSFE · QuireKitYour Markdown source stays yours.