You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to embed the name of the current file in the text of a drawing? For example, if a text element is "Title: {{filename}}" and the current drawing is renamed to Foo.excalidraw.md, then the text renders as "Title: Foo". The main use case for this is to keep the title that I put at the top of drawings consistent with the filename. (This also helps me remember to rename the file, so I don't get a folder full of unlabeled "Drawing {{date}}" files.)
I realize this question is a long shot, and might not be a good feature idea, but I figured I'd ask in case there is some way to do this that I am overlooking. If these are not built-in, is there maybe a way to add a script that does this.
Even more long shot, but perhaps more useful for my use case, would be where editing the text element automatically renames the file. For example, if the text element is edited to be "Foo" then the file is renamed to "Foo.excalidraw.md". (Since it would be doing this by copying from a template drawing, it is fine if it is tied to a specific text element with a particular id.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to embed the name of the current file in the text of a drawing? For example, if a text element is "Title: {{filename}}" and the current drawing is renamed to Foo.excalidraw.md, then the text renders as "Title: Foo". The main use case for this is to keep the title that I put at the top of drawings consistent with the filename. (This also helps me remember to rename the file, so I don't get a folder full of unlabeled "Drawing {{date}}" files.)
I realize this question is a long shot, and might not be a good feature idea, but I figured I'd ask in case there is some way to do this that I am overlooking. If these are not built-in, is there maybe a way to add a script that does this.
Even more long shot, but perhaps more useful for my use case, would be where editing the text element automatically renames the file. For example, if the text element is edited to be "Foo" then the file is renamed to "Foo.excalidraw.md". (Since it would be doing this by copying from a template drawing, it is fine if it is tied to a specific text element with a particular id.)
Beta Was this translation helpful? Give feedback.
All reactions