From b15e9c3f6a042fef8534d1aa8b12fe5f8e78f40d Mon Sep 17 00:00:00 2001 From: Ooker Date: Thu, 17 Feb 2022 00:49:46 +0700 Subject: [PATCH] Update normalizePath.md --- docs/api/functions/normalizePath.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/api/functions/normalizePath.md b/docs/api/functions/normalizePath.md index 63870000..f149f03e 100644 --- a/docs/api/functions/normalizePath.md +++ b/docs/api/functions/normalizePath.md @@ -4,6 +4,9 @@ export function normalizePath(path: string): string; ``` +Make sure that the file path is normalized, so that it works on all operating systems, so that other functions (like [`getResourcePath()`](https://marcus.se.net/obsidian-plugin-docs/api/interfaces/DataAdapter#getresourcepath) can work). Mac/Linux and Windows have different styles for that. + + ## Parameters | Parameter | Description |