Automate the embeded of the daily note in an excalidraw

What I’m trying to do

I’m looking for a script to use in an excalidraw file, or some other way, to have today’s note automatically update in my dashboard.

Things I have tried

I’ve tried, in source mode, to edit the link to the inserted daily note and to set the auto date with dataview (= "[[" + dateformat(date(today), "dd-mm-yyyy ") + substring(dateformat(date(today), "ccc"), 0, 2) + "]]") but Excalidraw doesn’t recognize the link correctly.

I remembered seeing a similar script, but I searched reddit obsidian and the forum, and the only thing I found was for canvas.