Circle V2 API Docs
    Preparing search index...

    Function createSectionedHeadingCompletionSource

    • Produces a CodeMirror CompletionSource for a sectioned heading-only DSL.

      Triggers on lines beginning with # (H1) or ## (H2). H1 suggestions are filtered to omit sections already present elsewhere in the document. H2 suggestions are scoped to whichever H1 the cursor sits inside.

      Returns CompletionSource