Skip to content

Commit f5e560b

Browse files
epwalshgithub-actions[bot]
authored andcommitted
chore(docs): auto generate docs
1 parent ae39ba3 commit f5e560b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/obsidian.txt

+6
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,12 @@ carefully and customize it to your needs:
377377
return tostring(os.time()) .. "-" .. suffix
378378
end,
379379

380+
-- Optional, customize the default name or prefix when pasting images via `:ObsidianPasteImg`.
381+
image_name_func = function()
382+
-- Prefix image names with timestamp.
383+
return string.format("%s-", os.time())
384+
end,
385+
380386
-- Optional, boolean or a function that takes a filename and returns a boolean.
381387
-- `true` indicates that you don't want obsidian.nvim to manage frontmatter.
382388
disable_frontmatter = false,

0 commit comments

Comments
 (0)