Skip to content

obsidian/functions/normalizePath

Mock of Obsidian’s normalizePath.

Function Description
normalizePath Normalizes a path so it can be used with the vault. The mock only turns backslashes into forward slashes, collapses repeated slashes and strips a leading or trailing slash.