We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6335f commit 9faa75aCopy full SHA for 9faa75a
1 file changed
_extensions/code-window/_modules/utils.lua
@@ -594,10 +594,8 @@ function M.resolve_project_path(path)
594
595
if path:sub(1, 1) == '/' then
596
if quarto.project.directory then
597
- -- Prepend project directory to absolute path
598
- return quarto.project.directory .. path
+ return pandoc.path.join({ quarto.project.directory, path:sub(2) })
599
else
600
- -- Remove leading `/` if no project directory
601
return path:sub(2)
602
end
603
0 commit comments