Commit Graph

18 Commits

Author SHA1 Message Date
Mickaël Menu
202ea62322
Use the YAML frontmatter key date for the note creation date, when provided 2021-03-12 19:48:20 +01:00
Mickaël Menu
f5b3102deb
Save additional metadata in the database (#7)
* YAML frontmatter as a JSON object in `notes.metadata`
    * Print metadata from the YAML frontmatter in `list` output using `{{metadata.<key>}}`, e.g. `{{metadata.description}}`. Keys are normalized to lower case.
* Start and end offsets for link snippets.
    * This could be useful to expand backlinks contexts.
2021-03-08 21:38:32 +01:00
Mickaël Menu
4bf660f934
Parse tags in Markdown documents (#5)
Many tag flavors are supported: `#hashtags`, `:colon:separated:tags:` and even Bear's [`#multi-word tags#`](https://blog.bear.app/2017/11/bear-tips-how-to-create-multi-word-tags/). If you prefer to use a YAML frontmatter, list your tags with the keys `tags` or `keywords`.
2021-03-06 19:38:52 +01:00
Mickaël Menu
4c8a7b4105
Rename every occurrence of "slip box" into "notebook" 2021-02-15 22:44:31 +01:00
Mickaël Menu
4bff1cd326
Reorganize config structure 2021-02-13 22:16:11 +01:00
Mickaël Menu
0b0e7dfd08
Add note links to the database 2021-01-25 21:44:44 +01:00
Mickaël Menu
9876bcec00
Print indexing statistics 2021-01-17 12:47:05 +01:00
Mickaël Menu
58cfec5c80
Add a progress report during indexing 2021-01-17 12:09:38 +01:00
Mickaël Menu
1a9604ea34
Add flag to force indexation 2021-01-16 20:53:12 +01:00
Mickaël Menu
f371f58bd2
Add Lead and RawContent to the saved note metadata 2021-01-16 20:18:03 +01:00
Mickaël Menu
29688186f2
Add a proper Markdown parser 2021-01-16 19:37:10 +01:00
Mickaël Menu
18f8c39d5d
Store dates as UTC 2021-01-12 20:33:55 +01:00
Mickaël Menu
9f1ec95194
Test NoteDAO find all 2021-01-10 12:29:57 +01:00
Mickaël Menu
e0aaa60955
Move zk/file to util/paths 2021-01-09 13:01:41 +01:00
Mickaël Menu
ea3b6923c0
Merge dir and filename to simplify paths handling 2021-01-09 12:17:15 +01:00
Mickaël Menu
b78609269b
Parse notes title and body 2021-01-03 22:19:23 +01:00
Mickaël Menu
378834c495
Add language, file extension and default title in user config 2021-01-03 18:03:18 +01:00
Mickaël Menu
4ca1595f1f
Refactor file diff and indexation 2021-01-03 17:09:10 +01:00