Dataview url links - changing the generated '[Filename](app://obsidian.md...)' to [[filename]]?

What I’m trying to do

I want to:
use PDF export that creates a clickable TOC, i.e. PDF Bookmarks (thx c/o: Better Export PDF )

  • This TOC and clickable links are [[<filename>]] which are converted to bookmarks on export

Links to files in a dataview table are also clickable

  • I believe the links in the dataview table need to be wiki links [[<filename>]] and not [<filename>](app://obsidian.md/<filepath>/<filename>.md)
  • To see the link generated, select the output from the query (the table) and click-drag-ctrl into a blank space in the same note. All links are generated as[Filename](app://obsidian.md...)

Things I have tried

  • There didn’t seem to be any related settings unfortunately
  • Trying different dataview outputs:
TABLE 
"[["+file.name+"]]" as "Link", file.link as "File.Link", link(file.name) as "Link as File.name", zymllink as "YML Link", zymllink2 as "YML Link2"

Where, the filename is manually written into:

---
zymllink: [[<filename>]]
zymllink2: "[[<filename>]]"
---

I have added relevant discussions on the corresponding repos:
Better Export Discussion
Dataview Bug (not sure if its a bug)

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.