@@ -405,13 +405,6 @@ carefully and customize it to your needs:
405
405
-- Either 'wiki' or 'markdown' .
406
406
preferred_link_style = "wiki",
407
407
408
- -- Optional, customize the default name or prefix when pasting images via `:ObsidianPasteImg` .
409
- ---@return string
410
- image_name_func = function()
411
- -- Prefix image names with timestamp.
412
- return string.format("%s-", os.time())
413
- end,
414
-
415
408
-- Optional, boolean or a function that takes a filename and returns a boolean.
416
409
-- `true` indicates that you don't want obsidian.nvim to manage frontmatter.
417
410
disable_frontmatter = false,
@@ -584,6 +577,14 @@ carefully and customize it to your needs:
584
577
-- If this is a relative path it will be interpreted as relative to the vault root.
585
578
-- You can always override this per image by passing a full path to the command instead of just a filename.
586
579
img_folder = "assets/imgs", -- This is the default
580
+
581
+ -- Optional, customize the default name or prefix when pasting images via `:ObsidianPasteImg` .
582
+ ---@return string
583
+ img_name_func = function()
584
+ -- Prefix image names with timestamp.
585
+ return string.format("%s-", os.time())
586
+ end,
587
+
587
588
-- A function that determines the text to insert in the note when pasting an image.
588
589
-- It takes two arguments, the `obsidian.Client` and an `obsidian.Path` to the image file.
589
590
-- This is the default implementation.
0 commit comments