Esc

COMARK2615 · warning

comark/table/unknown-tone

Color a cell with success, warning, error, or info

A cell's tone is one of success, warning, error, and info, the words comark-badge uses. Any other word leaves the cell uncolored, and the span renders as its text.

Incorrect

| Pond | Ducks |
| --- | --- |
| Mill pond | [0]{tone="red"} |
md
lint-comark example.mdexample.md:3:25 comark/table/unknown-toneMarkdown table 1, row 1: "red" isn't a tone, so the cell isn't colored.Use success, warning, error, or info.✖ 1 problem

Correct

| Pond | Ducks |
| --- | --- |
| Mill pond | [0]{tone="error"} |
md
lint-comark example.md✔ No problems