Skip to content

transform_explicit & create_dirs should not always suffix the directory structure #223

@jakewvincent

Description

@jakewvincent

Discussed in #136

Originally posted by svenXY January 30, 2023
Hi,

when using transform_explicit and create_dirs in combination, links are created as e.g. [work/with/dirs](2023-01-30_work/with/dirs.md). I woud have expected something like [work/with/dirs](work/with/2023-01-30_dirs.md) as otherwise, directory hierarchies would be created over and over again.

I understand that I could change transform_explicit to do this for me properly, but imho this is so generic that it could be supported as a setting, something like prefix_dirs=true for the current setup and prefix_dirs=false to prefix the filename, but not the directory structure.

What do you think?

Thanks for the nice plugin, btw!
Sven

Metadata

Metadata

Assignees

Labels

edge caseBug-like things that need fixing because they were not properly anticipated 🙃

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions