How to configure (nesting) order of marks?


#1

Guide does mention following:

The order in which marks appear is specified by the schema.

But then I can’t find anywhere in the guide or docs how that order can be specified ?


#2

It seems that order in which they appear in schema definition specifies the order in which they will nest as well.


#3

Exactly. The OrderedMap type is written so that even when messing with a set of marks after the fact, you can still control their order.