more sane defaults for pasted images

This commit is contained in:
Rene Schallner
2021-11-26 05:38:21 +01:00
parent 723a2d25ef
commit 87c4c1de21
3 changed files with 8 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ local ZkCfg = {
-- image subdir for pasting
-- subdir name
-- or nil if pasted images shouldn't go into a special subdir
image_subdir = "img",
image_subdir = nil,
-- markdown file extension
extension = ".md",
@@ -41,7 +41,7 @@ local ZkCfg = {
-- image link style
-- wiki: ![[image name]]
-- markdown: ![](image_subdir/xxxxx.png)
image_link_style = "wiki",
image_link_style = "markdown",
-- integrate with calendar-vim
plug_into_calendar = true,
@@ -642,6 +642,8 @@ local Setup = function(cfg)
or "left-fit"
SetupCalendar(ZkCfg.calendar_opts)
end
print(vim.inspect(cfg))
print(vim.inspect(ZkCfg))
end
local M = {