Skip to content

Add flags to prepend dates to Markdown filenames#59

Open
dge8 wants to merge 2 commits into
wormi4ok:masterfrom
dge8:dates-in-filenames
Open

Add flags to prepend dates to Markdown filenames#59
dge8 wants to merge 2 commits into
wormi4ok:masterfrom
dge8:dates-in-filenames

Conversation

@dge8

@dge8 dge8 commented Aug 30, 2021

Copy link
Copy Markdown
Contributor

A simple pair of flags to prepend exported note filenames with the created and/or modified dates (ISO format, YYYY-MM-DD, so they sort nicely in file managers).

Was useful for me, making the PR in case it's useful for others. However, a better long-term solution might be something like the proposal in Issue #58.

Cheers, Dan.

@wormi4ok

Copy link
Copy Markdown
Owner

Thanks for the contribution, @dge8!
I'm trying to keep the number of flags and configuration options to a minimum, and since the proposal in issue #58 covers many more use cases, I'd prefer to focus on that solution and not merge this one.

It will take time for me to work out the first proof of concept with the dynamic filenames. As well, it may require a new approach to the configuration. Multiple flags with complex template values seem to be hard to manage as CLI arguments.

So something like config files support might come up. Let me know if you have ideas on this topic!

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