@NotNull
  public MarkdownPsiElement createHeaderForText(@NotNull PsiElement textElement) {
    int level = sanitizeHeaderLevel(getLevelFunction().fun(0));

    return MarkdownPsiElementFactory.createHeader(textElement.getProject(), textElement.getText(), level);
  }
@NotNull
  public MarkdownPsiElement createHeaderForText(@NotNull PsiElement textElement)