Errors stop the rendering (exit code 1). Warnings never do, unless --deny-warnings is given. Codes are stable: you
can rely on them in scripts. Messages follow the system language.
| Code | Cause |
unknown-target | to(x) names an id that does not exist |
no-target | to() without a target |
duplicate-id | two cards or zones share an id |
to-outside-card | an arrow that is not inside a card |
nested-in-card | a card or zone indented inside a card (only lines | and to are allowed) |
multiple-attr-groups | two pairs of parentheses on one tag |
mixed-indent | tabs and spaces in the same file |
bad-number | malformed at, size or via |
bad-marker, multiple-appear | malformed animation marker (@0, @4-2,
unknown effect), or two appearance markers on one element |
legacy-and-marker | old step= notation and an @ marker on the same element |
unsafe-href | a link with a forbidden scheme, or empty |
missing-date, bad-date, end-before-start | timeline and frieze dates (including
year 0) |
zone-in-frise, zone-in-mindmap | zones in a mode that does not support them |
bad-root | mind map root that is not a card id |
| Code | Cause |
unknown-tag | a tag other than the four (ignored with its content) |
line-misplaced, orphan-text, ignored-child | content in a place where it has
no meaning (ignored) |
bad-side, bad-join | unknown value of side, empty join, or a join name no other arrow to the same card carries (ignored) |
at-ignored | at= in a mode where positions are computed |
draw-on-node | the draw effect on something other than an arrow (fade is used) |
unknown-icon, icon-ignored | an icon name that does not exist, or an icon on an arrow or a line |
legacy-step | old step=/fx= notation: skemo lint --fix converts it |
unknown-attribute | diagram(engine=…), router=… or elk=…: options of the prototype, no longer read |
bad-table (preview) | a table row that cannot be read as written: ^^ in the first row, a row starting with ||, a separator out of place or with another number of columns, a one-cell table between lines of text (write \| for a final bar) |
bad-at (preview) | at= that is neither coordinates nor a compass point, or a compass point on an element that is not at the top level |
docked-arrow (preview) | an arrow between a docked element (at="s"…) and the rest of the drawing: not drawn |
part-class | a class named like a part skemo draws (.title, .label…) or
.stage, the class of the whole drawing: a rule on it would style much more than this element; name classes after what
they mean (.step) |
empty-diagram | no card, zone or line: an empty file, or a bare diagram (still rendered) |
site-missing-diagram, site-missing-file (preview) | skemo site: a link to a .skemo diagram, or to a file, that is not in the folder (the link is left as written; a file is not copied) |
| Code | Cause |
step-gap | a click between 1 and the last step changes nothing: @1, @2, then
@9 leaves clicks 3 to 8 empty in a presentation. @2.5 between 2 and 3 is fine |
no-step-after | @1-3 and no step after 3: the disappearance is never seen |
step-before-parent, until-after-parent | a marker earlier (or an end later) than its card or
zone allows: the parent's is kept |
focus-outside, highlight-outside | a focus or a highlight while the element is hidden |
| Code | Cause |
overlap | two pinned cards (at=) that overlap: both are named |
wrap-hides-cards | with wrap, cards sit behind others and arrows go around them |
mindmap-unlinked | a mind map card that the root cannot reach (placed below) |
image-missing, font-missing | an image icon that was not provided; a font the stylesheet asks
for that is not available (Inter is used) |
unknown-layout, curve-ignored, fit | an unknown layout;
--curve outside a mind map; the advice of diagram(fit=…) |
unroutable, waypoint-unreachable, side-ignored | an arrow the router could not
draw, a via point it could not reach, a side it could not use |