pub fn note_name(key: &str) -> StringExpand description
Map a node key to a filesystem- and wikilink-safe note stem. Characters that
are awkward in filenames or Obsidian links (: / # whitespace) collapse
to -; alphanumerics, ., _ and - are kept. The result is bounded
in length (a grouped Rust use can key a 300+ char import node) by truncating
and appending a short hash of the full key, so notes stay under filesystem
limits while remaining unique and deterministic.