Commit Graph

93 Commits (be8b2d6289d810b8edd3fb1038f371f87c46cfb4)

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