Esc

COMARK0002 · warning

comark/unknown-component

Use only known components

A block or inline component that isn't one of your components or an HTML element, with the closest known name when one is near. Comark renders an unknown component as an empty element, so a typo makes the block vanish.

The rule needs the components you render with. Without them, any name could be valid, so lint() turns it off; the command line and Vite Doctor pass every installed package's.

Incorrect

::embedd{url="https://youtu.be/KCrXgy8qtjM" title="Vite in 100 Seconds"}
::
md
lint-comark example.mdexample.md:1:1 comark/unknown-component::embedd on line 1 is not a known component.Did you mean embed? Known: accordion, accordion-item, annotation, badge, card, card-group, card-title, carousel, cast, chart, chip, code-group, code-notes, collapsible, color, column, columns, compare, data-table, delta, diagram, diff, disclosure, disclosure-summary, embed, field, field-group, file-tree, file-tree-item, github-callout, h1, h2, h3, h4, h5, h6, icon, include, links-styles, media, palette, pele, poll, pre, progress-bar, properties, qr, question, recall, ref, screenshot, slide, sources, span, stat-tiles, stats, step, steps, tabs, tabs-item, tests, toc, zoom, zoom-runtime.✖ 1 problem

Correct

::embed{url="https://youtu.be/KCrXgy8qtjM" title="Vite in 100 Seconds"}
::
md
lint-comark example.md✔ No problems