Commit Graph

20 Commits (7122f7e461feab5ae78406ebb83b9d11027ecb57)

Author SHA1 Message Date
Mickaël Menu ba41fe5a71
Experimental LSP server (#21) 4 years ago
Mickaël Menu 314024eae0
Add the --mention filtering option (#8) 4 years ago
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.
4 years ago
Mickaël Menu 08cc4a3c3f
Filter notes by tags (#6)
Filter notes by their tags using `--tag "history, europe"`. To match notes associated with either tags, use a pipe `|` or `OR` (all caps), e.g. `--tag "inbox OR todo"`.
4 years ago
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`.
4 years ago
Mickaël Menu 65521769c2
Disable --not-link* variants and move database to .zk/notebook.db 4 years ago
Mickaël Menu 2111deb88d
Add recursive link filtering 4 years ago
Mickaël Menu b011d6adc5
Extract contextual snippets for link filters 4 years ago
Mickaël Menu fb78993fbc
Save a link's context as a snippet 4 years ago
Mickaël Menu a0ba426aa2
Add "linked by" note filter 4 years ago
Mickaël Menu 0b0e7dfd08
Add note links to the database 4 years ago
Mickaël Menu cd2040a74b
Fix sorting indexed notes by their paths in the database 4 years ago
Mickaël Menu f371f58bd2
Add Lead and RawContent to the saved note metadata 4 years ago
Mickaël Menu 4fbd5b3fac
Filter by modification date 4 years ago
Mickaël Menu 18f8c39d5d
Store dates as UTC 4 years ago
Mickaël Menu 4cd3df749b
Refactor generation of the SQL find query and add support for PathsFilter 4 years ago
Mickaël Menu 9f1ec95194
Test NoteDAO find all 4 years ago
Mickaël Menu ea3b6923c0
Merge dir and filename to simplify paths handling 4 years ago
Mickaël Menu 8a876f3b7f
Test note DAO 4 years ago
Mickaël Menu d655720181
Test sqlite.DB 4 years ago