isMarkdown property

bool get isMarkdown

Checks if the file path or URL represents a markdown file.

Returns true if the MIME type is text/markdown.

Implementation

bool get isMarkdown {
  final mt = mimeType();
  return mt == 'text/markdown';
}