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
-- Optional, customize the default name or prefix when pasting images via `:ObsidianPasteImg`.
---@return string
image_name_func = function()
-- Prefix image names with timestamp.
return string.format("%s-", os.time())
end,
My config is like this:
-- Optional, customize the default name or prefix when pasting images via `:ObsidianPasteImg`.
---@return string
image_name_func = function()
-- Prefix image names with timestamp.
return os.date("%Y%m%d%H%M%S-", os.time()) .. "filenameasvariable" .. "-Attachment"
end,
I don't get any errors during the saving process but I got an Error from Obsidian when I open the Obsidian app:
“Attachment/20240529191942-filenameasvariable-Attachment.png” could not be found
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
-
Hello
Currently the official config is like this...
My config is like this:
I don't get any errors during the saving process but I got an Error from Obsidian when I open the Obsidian app:
“Attachment/20240529191942-filenameasvariable-Attachment.png” could not be found
Can someone help ?
Beta Was this translation helpful? Give feedback.
All reactions