Trevixal API
    Preparing search index...

    Interface CreateDocumentOptions

    @trevixal/extension-workspace. A document store with folders, templates, recents and favorites; a tab strip that switches the editor between documents and autosaves; a workspace sidebar; and a split view with a live preview or a mirrored second editor.

    interface CreateDocumentOptions {
        doc: NodeJSON;
        folder?: string | null;
        tags?: readonly string[];
        templateId?: string;
        title?: string;
    }
    Index
    doc: NodeJSON
    folder?: string | null
    tags?: readonly string[]
    templateId?: string
    title?: string

    Defaults to a title derived from the body (first heading or line).