Skip to content

Consider supporting non-standard "journal.patterns" settings.  #15

@zoredache

Description

@zoredache

Right now it seems like this is hard-coded to only work with a specific path pattern, it would nice if this could be more flexible. Ideally following the patterns I have configured.

I have patterns like this

"journal.patterns": {
    "notes": {
        "path": "${base}/${year}/${month}",
        "file": "${input}.${ext}"
    },
    "entries": {
        "path": "${base}/${year}/${month}",
        "file": "${year}-${month}-${day}.${ext}"
    }
},

And a set of files that look like this.

./2020/01/2020-01-23.md
./2020/01/2020-01-24.md
./2020/01/2020-01-27.md
./2020/01/2020-01-28.md
./2020/01/2020-01-30.md
./2020/01/TODO.md
./2020/02/2020-02-03.md
./2020/02/2020-02-10.md
./2020/02/2020-02-13.md
./2020/02/2020-02-14.md
./2020/02/2020-02-18.md
./2020/02/2020-02-20.md
./2020/02/2020-02-21.md
./2020/02/2020-02-24.md
./2020/02/2020-02-25.md
./2020/02/2020-02-28.md
./2020/02/a_meeting.md
./2020/02/TODO.md
./2020/03/2020-03-02.md
./2020/03/2020-03-06.md
./2020/03/2020-03-10.md
./2020/03/a_note.md

But I see 'Nothing found' in the Journal view.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions