jakewvincent / mkdnflow.nvim

Fluent navigation and management of markdown notebooks
GNU General Public License v3.0
683 stars 41 forks source link

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

Open jakewvincent opened 4 months ago

jakewvincent commented 4 months ago

Discussed in https://github.com/jakewvincent/mkdnflow.nvim/discussions/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