@Override
    public boolean isPairedBracesAllowedBeforeType(@NotNull IElementType lbraceType, IElementType type) {
      return type == null ||
             type == MarkdownTokenTypes.WHITE_SPACE ||
             type == MarkdownTokenTypes.EOL ||
             type == MarkdownTokenTypes.RPAREN ||
             type == MarkdownTokenTypes.RBRACKET ||
             type == MarkdownTokenTypes.GT;
    }
@Override
    public boolean isPairedBracesAllowedBeforeType(@NotNull IElementType lbraceType, IElementType type)