Parse a fence info string into a FenceDescriptor. The first token is
the (already-validated) language and is ignored; remaining tokens are
classified as parts, image formats, the ide macro, or the dimension
options width/height (exact size) and max-width/max-height
(upper bounds on natural size — see FenceDescriptor for the
precedence rule when both appear on one axis). All four dimension tokens
share one value syntax: a bare number (pixels), <n>px, or <n>%.
Unrecognized or conflicting tokens are dropped and recorded in
notes rather than throwing, so a host can render forward-compatibly.
Parameters
info: string
The full fence info string, e.g. 'fsl image code width=300'.
Parse a fence info string into a FenceDescriptor. The first token is the (already-validated) language and is ignored; remaining tokens are classified as parts, image formats, the
idemacro, or the dimension optionswidth/height(exact size) andmax-width/max-height(upper bounds on natural size — see FenceDescriptor for the precedence rule when both appear on one axis). All four dimension tokens share one value syntax: a bare number (pixels),<n>px, or<n>%. Unrecognized or conflicting tokens are dropped and recorded innotesrather than throwing, so a host can render forward-compatibly.