pub fn kind_of_file(name: &str) -> Option<NoteKind>Expand description
The kind of a file by its extension; None for files the vault leaves out.
Text notes are Markdown, whether named .md (Obsidian’s way) or .txt
(Nextcloud Notes’ default, Markdown all the same).