Esc

COMARK0502 · warning

comark/chips/invalid-avatar

Write avatar as an image URL, @user, or provider:name

avatar takes an image URL, a GitHub account as @user, or an account on another network as provider:name. A bare name such as avatar="octocat" is none of these, so the chip loads it as an image path and shows a broken image.

Incorrect

Thanks [Mona](https://example.com/mona){avatar="octocat"} for counting the ducks.
md
lint-comark example.mdexample.md:1:49 comark/chips/invalid-avatar[Mona](https://example.com/mona): avatar="octocat" is neither an image URL nor an account, so the chip shows a broken image.Write avatar="@octocat" for a GitHub account, or avatar="https://…" for an image.✖ 1 problem

Correct

Thanks [Mona](https://example.com/mona){avatar="@octocat"} for counting the ducks.
md
lint-comark example.md✔ No problems