Skip to content

feat(babel): add directory creation support with :mkdirp header argument #928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

SjB
Copy link
Contributor

@SjB SjB commented Mar 10, 2025

When tangling code blocks to files, automatically create parent directories when the :mkdirp header argument is set to 'yes'.

Summary

The ‘mkdirp’ header argument creates parent directories for tangled files if the directory does not exist. A ‘yes’ value enables directory creation whereas ‘no’ inhibits it.

#927

SjB added 3 commits March 10, 2025 11:03
When tangling code blocks to files, automatically create parent directories
when the :mkdirp header argument is set to 'yes'.
Coding style requires single quotes
Copy link
Member

@kristijanhusak kristijanhusak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kristijanhusak kristijanhusak merged commit fb9580c into nvim-orgmode:master Mar 12, 2025
17 checks passed
@SjB SjB deleted the support_for_mkdirp_tangle_header_tag branch March 19, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants