We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e5bdeb commit 36d5f50Copy full SHA for 36d5f50
lua/orgmode/babel/tangle.lua
@@ -75,6 +75,11 @@ function Tangle:tangle()
75
filemode = tangle_mode:gsub('[\'"]', '')
76
end
77
78
+ if info.header_args[':mkdirp'] == 'yes' then
79
+ local path = vim.fn.fnamemodify(info.filename, ':h')
80
+ vim.fn.mkdir(path, "p")
81
+ end
82
+
83
if info.name then
84
block_content_by_name[info.name] = parsed_content
85
0 commit comments