public static boolean isMarkdownFileExtension ( String extension ) { for ( final String ext : MARKDOWN_FILE_EXTENSIONS ) { if ( Strings . equal ( ext , extension ) ) { return true ; } } return false ; }
Replies if the given extension is for Markdown file .