obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

Link generated always in [](app://obsidian.md...) format - various attempts to obtain a version in [[]]

Open jroachgit opened this issue 1 year ago • 0 comments

What happened?

Fantastic work on this plugin. And I am not sure if this is expected behaviour or not 🤞 .

The generated link is a '[Filename](app://obsidian.md...) link on all attempts. I anticipated that at least one of my attempted variations would give me a [[Filename]] link. 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...)

DQL

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>]]"
---

JS

No response

Dataview Version

0.5.66

Obsidian Version

1.5.12

OS

Windows

jroachgit avatar May 22 '24 20:05 jroachgit