Returns whether a 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
MIME type string
boolean indicating whether a provided MIME type corresponds to a Markdown flavor
Generated using TypeDoc
Returns whether a MIME type corresponds to a Markdown flavor.
Example
Example