Skip to content

Add config setting for memo filepath formatΒ #7

@rafi

Description

@rafi

Please allow to configure the memos filename format, and support creation of subdirectories.

For example, create directories for 'year-month/' and filename with 'day-slug.md':

filefmt = "%Y-%m/%d-${SLUG}.md"

πŸ’¬ Notice the / in format.

Example of current default:

filefmt = "%Y-%m-%d-${SLUG}.md"

I keep my memos in this fashion:

β”œβ”€β”€ 2016-10
β”‚Β Β  └── 22-ipsum.md
β”œβ”€β”€ 2016-12
β”‚Β Β  β”œβ”€β”€ 11-foo-bar.md
β”‚Β Β  β”œβ”€β”€ 13-bar-baz.md
β”‚Β Β  └── 19-lorem.md
β”œβ”€β”€ 2017-01
β”‚Β Β  └── 05-foo.md
└── index.md

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions