Embedded link from inline query

I found this inline query: =link(dateformat(date(today), "yyyy-MM-dd")), which works perfectly in creating a dynamic link to today’s daily note. but when i try to add a ! to embed the note it messes uo the code. does anyone know how i can make it work? (or, more generally, how i can embed today’s daily note so that it dybnamically updates?)
thanks!

Where are you wanting to embed the daily note, and how do get the text into it?

Why can’t you use, just ![[2023-02-14]]?

Embedding through dataview is said (and experienced) as finicky. Image should work, but even then issues arises a little too often.

If using Templater to generate this embeds, you should look into the execution commands to insert links like that above into your note, something like the following:

<%* tR +=  "![["  + tp.date.now("YYYY-MM-DD") + "]]" %>

When you get embed syntax correct (and working), it should update dynamically, as far as I know.

1 Like

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