Mickaël Menu
695a3bc351
Fix fzf preview command when setting --notebook-dir
2021-03-21 14:37:07 +01:00
Mickaël Menu
52434f8618
Add the --mentioned-by filtering option ( #15 )
...
Find every note whose title is mentioned in the note you are working on with `--mentioned-by file.md`
2021-03-20 19:17:46 +01:00
Mickaël Menu
c58e68e0e2
Add support for nested maps in the YAML frontmatter
...
Don't prevent saving a note when the YAML to JSON serialization fails
2021-03-19 21:19:55 +01:00
Mickaël Menu
6071748dc8
Fix crash when parsing a link snippet in an inline node
2021-03-14 22:23:15 +01:00
Mickaël Menu
01b85c55e8
Fix looking for mentions of a note with a title containing double quotes
2021-03-14 17:20:01 +01:00
Mickaël Menu
314024eae0
Add the --mention filtering option ( #8 )
2021-03-13 15:31:05 +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
bae1fab567
Exclude a tag with the --tag filtering option
2021-03-07 17:36:54 +01:00
Mickaël Menu
f1391b5a63
Rename --linking-to filtering option to --link-to
2021-03-07 17:14:07 +01:00
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"`.
2021-03-07 17:00:09 +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
6175a73c1c
Parse labels in [[wiki links | label]] and support escaped characters
2021-02-28 11:21:33 +01:00
Mickaël Menu
c10449a425
Refine path filtering with regexes
2021-02-27 19:23:03 +01:00
Mickaël Menu
ac545f550a
Guard against infinite loops with recursive links traversal
2021-02-27 18:15:42 +01:00
Mickaël Menu
27eda3deb6
Override default sort orders with --sort
2021-02-27 11:23:16 +01:00
Mickaël Menu
65521769c2
Disable --not-link* variants and move database to .zk/notebook.db
2021-02-27 10:20:53 +01:00
Mickaël Menu
5a00a56984
Check if the terminal supports UTF-8 before outputting unicode symbols
2021-02-25 20:46:19 +01:00
Mickaël Menu
fbbf8e53dc
Various minor fixes
2021-02-24 21:49:56 +01:00
Mickaël Menu
5f88eba68f
Show path at the end of the fzf line, to emphasis title instead
2021-02-21 10:38:51 +01:00
Mickaël Menu
1f89978f84
Use $SHELL -c for the {{sh}} template helper
2021-02-17 21:12:39 +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
9f0b5dc7d4
Add support for Wiki links and neuron's Folgezettel links
2021-02-13 16:39:49 +01:00
Mickaël Menu
ade5da20df
Support Markdown autolinking for external links
2021-02-12 19:34:04 +01:00
Mickaël Menu
e0c8e2fd02
Make the fzf preview command customizable
2021-02-11 21:31:47 +01:00
Mickaël Menu
f70b85ed6f
Show path relative to working directory in fzf
2021-02-11 20:32:43 +01:00
Mickaël Menu
aa87c570c2
Don't launch fzf or the pager when --no-input is set
2021-02-10 21:04:24 +01:00
Mickaël Menu
16fdcfe751
Improve confirm prompt using third-party library
2021-02-07 19:53:51 +01:00
Mickaël Menu
7e3e2cbd20
Add a fzf binding to create a new note with the search query from the edit command
2021-02-07 17:48:23 +01:00
Mickaël Menu
5905688bd3
Add --related filtering option
2021-02-01 22:04:44 +01:00
Mickaël Menu
d9d5fe1730
Add --max-distance for recursive link filtering options
2021-01-31 17:07:44 +01:00
Mickaël Menu
2111deb88d
Add recursive link filtering
2021-01-31 12:24:33 +01:00
Mickaël Menu
7c2ca2c62e
Add the {{list}} template helper
2021-01-30 19:30:46 +01:00
Mickaël Menu
08e09d94ae
Add a {{concat}} template helper
2021-01-30 18:39:04 +01:00
Mickaël Menu
d8b328912d
Fix combining link filters
2021-01-30 18:18:20 +01:00
Mickaël Menu
b011d6adc5
Extract contextual snippets for link filters
2021-01-30 18:08:02 +01:00
Mickaël Menu
fb78993fbc
Save a link's context as a snippet
2021-01-30 16:32:58 +01:00
Mickaël Menu
1270aab7bb
Support parsing absolute years
2021-01-30 15:24:08 +01:00
Mickaël Menu
e4e734f3dd
Add --orphan filtering flag
2021-01-29 20:40:06 +01:00
Mickaël Menu
f7a5c04c6e
Add "not" variants for --linked-by and --linking-to
2021-01-27 21:25:33 +01:00
Mickaël Menu
7c6b5af4f9
Add --linking-to filter option
2021-01-27 20:20:26 +01:00
Mickaël Menu
a0ba426aa2
Add "linked by" note filter
2021-01-25 22:57:12 +01:00
Mickaël Menu
0b0e7dfd08
Add note links to the database
2021-01-25 21:44:44 +01:00
Mickaël Menu
3d967746d1
Parse Markdown links
2021-01-24 14:33:25 +01:00
Mickaël Menu
467acb3a08
Warn if fzf is not available when using --interactive
2021-01-24 14:10:47 +01:00
Mickaël Menu
0512bf78b4
Add support for YAML frontmatters
2021-01-24 13:42:57 +01:00
Mickaël Menu
1b905dacfd
Don't prompt the user when the terminal is not interactive
2021-01-23 21:29:22 +01:00
Mickaël Menu
72d9d6f8d4
Add user prompt/confirmation utilities
2021-01-23 21:15:17 +01:00
Mickaël Menu
6c95ff43c1
Refactor fzf integration
2021-01-23 15:24:08 +01:00
Mickaël Menu
fe6b062309
Filter notes interactively with fzf
2021-01-23 13:29:14 +01:00
Mickaël Menu
5c59d7946b
Test the note formatter
2021-01-19 23:06:17 +01:00