From 5a89500aa21de76f376886f46f833c74533e8033 Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 23:46:05 -0500 Subject: [PATCH] Update README.qmd --- README.qmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.qmd b/README.qmd index 9d12ca2..433fcd1 100644 --- a/README.qmd +++ b/README.qmd @@ -14,6 +14,9 @@ editor_options: file_path <- fs::path_real("README.qmd") path_components <- strsplit(as.character(file_path), "/")[[1]] shortened_path <- fs::path_join(path_components[-(1:6)]) +if (!startsWith(shortened_path, "/")) { + shortened_path <- paste0("/", shortened_path) +} ``` ## Location: `r shortened_path`