Pandoc's --file-scope option only takes effect if there are at least two files, so if there is only one file, links will not be adjusted correctly. In this case, add an additional empty dummy file as input to convince Pandoc to perform the link adjustment.
Pandoc's
--file-scope
option only takes effect if there are at least two files, so if there is only one file, links will not be adjusted correctly. In this case, add an additional empty dummy file as input to convince Pandoc to perform the link adjustment.