obsidian-better-export-pdf
obsidian-better-export-pdf copied to clipboard
Cross file link support when exporting as one single file, at least for headers
trafficstars
when exporting as a single file, if i have toc linking 2 files, and those 2 files link to each other, those links don't work and the links inside the toc going to those parts doesn't either
toc:
[[file1]]
[[file2]]
file1:
# Test1
[[file2#Test2]]
file2:
# Test2
[[file1#Test1]]
None of the links here work, but replacing all the file1 and file2 in the links with headers to the side does work Can this work?
There could be an option, maybe to add in the frontmatter, to make it so before exporting all file names inside links with headers to the side get replaced to the file of the toc? It might break with files with same headings, but that could be said as a warning maybe? That's my idea and i don't know if it's good