Commit Graph

91 Commits (29a01c793ae04f89a0f5181ec0a3f595acc77ff6)

Author SHA1 Message Date
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 bae1fab567
Exclude a tag with the --tag filtering option 4 years ago
Mickaël Menu f1391b5a63
Rename --linking-to filtering option to --link-to 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 6175a73c1c
Parse labels in [[wiki links | label]] and support escaped characters 4 years ago
Mickaël Menu c10449a425
Refine path filtering with regexes 4 years ago
Mickaël Menu ac545f550a
Guard against infinite loops with recursive links traversal 4 years ago
Mickaël Menu 27eda3deb6
Override default sort orders with --sort 4 years ago
Mickaël Menu 65521769c2
Disable --not-link* variants and move database to .zk/notebook.db 4 years ago
Mickaël Menu 5a00a56984
Check if the terminal supports UTF-8 before outputting unicode symbols 4 years ago
Mickaël Menu fbbf8e53dc
Various minor fixes 4 years ago
Mickaël Menu 5f88eba68f
Show path at the end of the fzf line, to emphasis title instead 4 years ago
Mickaël Menu 1f89978f84
Use $SHELL -c for the {{sh}} template helper 4 years ago
Mickaël Menu 4c8a7b4105
Rename every occurrence of "slip box" into "notebook" 4 years ago
Mickaël Menu 9f0b5dc7d4
Add support for Wiki links and neuron's Folgezettel links 4 years ago
Mickaël Menu ade5da20df
Support Markdown autolinking for external links 4 years ago
Mickaël Menu e0c8e2fd02
Make the fzf preview command customizable 4 years ago
Mickaël Menu f70b85ed6f
Show path relative to working directory in fzf 4 years ago
Mickaël Menu aa87c570c2
Don't launch fzf or the pager when --no-input is set 4 years ago
Mickaël Menu 16fdcfe751
Improve confirm prompt using third-party library 4 years ago
Mickaël Menu 7e3e2cbd20
Add a fzf binding to create a new note with the search query from the edit command 4 years ago
Mickaël Menu 5905688bd3
Add --related filtering option 4 years ago
Mickaël Menu d9d5fe1730
Add --max-distance for recursive link filtering options 4 years ago
Mickaël Menu 2111deb88d
Add recursive link filtering 4 years ago
Mickaël Menu 7c2ca2c62e
Add the {{list}} template helper 4 years ago
Mickaël Menu 08e09d94ae
Add a {{concat}} template helper 4 years ago
Mickaël Menu d8b328912d
Fix combining link filters 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 1270aab7bb
Support parsing absolute years 4 years ago
Mickaël Menu e4e734f3dd
Add --orphan filtering flag 4 years ago
Mickaël Menu f7a5c04c6e
Add "not" variants for --linked-by and --linking-to 4 years ago
Mickaël Menu 7c6b5af4f9
Add --linking-to filter option 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 3d967746d1
Parse Markdown links 4 years ago
Mickaël Menu 467acb3a08
Warn if fzf is not available when using --interactive 4 years ago
Mickaël Menu 0512bf78b4
Add support for YAML frontmatters 4 years ago
Mickaël Menu 1b905dacfd
Don't prompt the user when the terminal is not interactive 4 years ago
Mickaël Menu 72d9d6f8d4
Add user prompt/confirmation utilities 4 years ago
Mickaël Menu 6c95ff43c1
Refactor fzf integration 4 years ago
Mickaël Menu fe6b062309
Filter notes interactively with fzf 4 years ago
Mickaël Menu 5c59d7946b
Test the note formatter 4 years ago
Mickaël Menu 5759896fd4
Refactor note formatter 4 years ago
Mickaël Menu aee1d0c781
Add predefined styling rules 4 years ago
Mickaël Menu f1df4320ed
Add a cross-platform way to execute a shell command and string utilities 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