Ecosystem

vega

comark-vega charts.

comark-vega charts. Full plugin docs live at comark-vega.

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

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

What it adds

  • Components: ::vega, ::chart, ::vl, ::vega-lite, ::vg, ::chart-arc, ::chart-area, ::chart-bar, ::chart-boxplot, ::chart-circle, ::chart-errorband, ::chart-errorbar, … (22)

Components

ComponentPropsSlots
::vegaspec, engine (vega | vega-lite), width, height–
::chartspec, engine (vega | vega-lite), width, height–
::vlspec, engine (vega | vega-lite), width, height–
::vega-litespec, engine (vega | vega-lite), width, height–
::vgspec, engine (vega | vega-lite), width, height–
::chart-arcspec, engine (vega | vega-lite), width, height–
::chart-areaspec, engine (vega | vega-lite), width, height–
::chart-barspec, engine (vega | vega-lite), width, height–
::chart-boxplotspec, engine (vega | vega-lite), width, height–
::chart-circlespec, engine (vega | vega-lite), width, height–
::chart-errorbandspec, engine (vega | vega-lite), width, height–
::chart-errorbarspec, engine (vega | vega-lite), width, height–
::chart-geoshapespec, engine (vega | vega-lite), width, height–
::chart-imagespec, engine (vega | vega-lite), width, height–
::chart-linespec, engine (vega | vega-lite), width, height–
::chart-pointspec, engine (vega | vega-lite), width, height–
::chart-rectspec, engine (vega | vega-lite), width, height–
::chart-rulespec, engine (vega | vega-lite), width, height–
::chart-squarespec, engine (vega | vega-lite), width, height–
::chart-textspec, engine (vega | vega-lite), width, height–
::chart-tickspec, engine (vega | vega-lite), width, height–
::chart-trailspec, engine (vega | vega-lite), width, height–

For agents

Included in llms():

Vega charts (comark-vega): ::chart-bar{:spec="data.sales"} (or ::vega / ::vega-lite with a spec).

Copyright © 2026