Built-in

summary

The `<!-- more -->` summary break and `meta.summary`.

The <!-- more --> summary break and meta.summary.

import summary from 'comark-codemirror/plugins/summary'

comark({ plugins: [summary()] })

What it adds

  • Snippets: Summary break
  • Binding roots (scopes)

For agents

Included in llms():

Summary: content before a <!-- more --> line is the excerpt (meta.summary).

Copyright © 2026