Closed rowanc1 closed 2 months ago
Latest commit: a165d361f13dfc0ac47e858e57de2502b99ac06a
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Yes - I purposely left class
out as there is some extra work to do on the UI side to actually make that possible. But I think the pattern is good (and easy) to follow!
This adds
enumerated
/enumerator
(aliased asnumbered
/number
) to all common directives (code, figures, etc.). This allows for things like turning off enumeration for a specific figure / equation as well as taking control of numbering completely.In a recent example, we had to create a figure with a specific number
S5
and then carry on numbering as usual.This also introduces some places to centralize directive option logic - which we could extend to classes in the future.