code: private void checkMarkupLevel(final int markupLevel) {
          if (markupLevel >= this.matchedMarkupLevels.length) {
              final int newLen = Math.max(markupLevel + 1, this.matchedMarkupLevels.length + MATCHED_MARKUP_LEVELS_LEN);
              final boolean[] newMatchedMarkupLevels = new boolean[newLen];
              Arrays.fill(newMatchedMarkupLevels, false);
              System.arraycopy(this.matchedMarkupLevels, 0, newMatchedMarkupLevels, 0, this.matchedMarkupLevels.length);
              this.matchedMarkupLevels = newMatchedMarkupLevels;
          }
      }
docs: /*
  --------------
  Level handling
  --------------