@shortcut/client
    Preparing search index...

    Interface CreateDoc

    interface CreateDoc {
        content: string;
        content_format?: "markdown" | "html";
        title: string;
    }
    Index

    Properties

    content: string

    The content for the new document.

    content_format?: "markdown" | "html"

    Format of the content being sent. Defaults to 'html'. If 'markdown', content will be converted to HTML for storage. Storage is always HTML; this parameter just tells us what format you're sending.

    title: string

    The title for the new document.

    1

    256