code: public AnnotatedTextBuilder addMarkup(String markup) {
      parts.add(new TextPart(markup, TextPart.Type.MARKUP));
      return this;
    }
docs: Add a markup text snippet like {@code <b attr='something'>} or {@code <div>}. These
  parts will be ignored by LanguageTool when using {@link org.languagetool.JLanguageTool#check(AnnotatedText)}.