Check if a file is a Markdown file.
(path: Union[str, Path])
| 126 | |
| 127 | |
| 128 | def is_markdown(path: Union[str, Path]) -> bool: |
| 129 | """Check if a file is a Markdown file.""" |
| 130 | return get_file_extension(path) in ("md", "markdown") |
nothing calls this directly
no test coverage detected