Returns whether a MIME type corresponds to a Markdown flavor.
MIME type string
boolean indicating whether a provided MIME type corresponds to a Markdown flavor
const bool = isMarkdown('text/markdown');// returns true Copy
const bool = isMarkdown('text/markdown');// returns true
const bool = isMarkdown('text/plain');// returns false Copy
const bool = isMarkdown('text/plain');// returns false
Returns whether a MIME type corresponds to a Markdown flavor.