docs: def script_level(self, container):
          """Nesting level of super/subscript."""
          try:
              level = self.parent.script_level(container)
          except AttributeError:
              level = -1
          return level + 1 if self.is_script(container) else level