DataviewJS Snippet Showcase

i happened on a related question on the obsidian discord this afternoon. This will do what you want, I think:

(enclose this in a set of three tick marks in Obsidian)
dataviewjs
dv.paragraph(dv.fileLink("ABC",1))