Skip to content

Unrecognized attribute

Each shortcut accepts a fixed set of attributes. An unrecognized one is ignored with a warning, so a typo'd attribute never silently does nothing.

What it looks like

::: {.vspace size="medium" sze="1em"}
:::
WARN: Shortcut 'vspace' ignores unrecognized attributes (sze).
  These don't match any interface entry. Check for typos or add them to the interface. (in .vspace)

What it means

vspace accepts size, not sze. The unrecognized attribute is dropped; the recognized size still applies, so the build succeeds. The risk this catches is the silent one — a misspelled attribute name that would otherwise be read as "no value given" and change nothing.

How to fix

  • Fix the spelling — szesize.
  • Confirm the attribute exists for that shortcut in the system shortcut reference.
  • If it's an attribute of your own shortcut, add it to that shortcut's interface.