Esc

COMARK0202 · warning

comark/cards/href-instead-of-to

Link a card with to, not href

Nuxt UI links a card with to and ignores href, so a card written with href isn't a link under Nuxt UI. comark-cards links it anyway, so the page looks right here and breaks there.

Incorrect

::card{title="Pond report" href="/ponds/"}
14 ducks, 3 pigeons.
::
md
lint-comark example.mdexample.md:1:1 comark/cards/href-instead-of-to::card 1 ("Pond report"): Nuxt UI links a card with to, so it ignores href.Write to="/ponds/" instead.✖ 1 problem

Correct

::card{title="Pond report" to="/ponds/"}
14 ducks, 3 pigeons.
::
md
lint-comark example.md✔ No problems