@NotNull
  @Override
  public Tokenizer getTokenizer(PsiElement element) {
    final ASTNode node = element.getNode();
    if (node == null || node.getElementType() != MarkdownTokenTypes.TEXT) {
      return SpellcheckingStrategy.EMPTY_TOKENIZER;
    }
    if (TreeUtil.findParent(node, NO_SPELLCHECKING_TYPES) != null) {
      return SpellcheckingStrategy.EMPTY_TOKENIZER;
    }

    return SpellcheckingStrategy.TEXT_TOKENIZER;
  }
@NotNull
  @Override
  public Tokenizer getTokenizer(PsiElement element)