Commit Graph

326 Commits (main)
 

Author SHA1 Message Date
Mickaël Menu 50855154e2
Architecture (#27)
* Move everything under the internal package.
* Better separation between core and adapter packages, for easier unit testing.
* Simplify data models.
* Support multiple opened notebooks during runtime (useful for the LSP server).
* Proper surface API which might be exposed later as a public Go package.
3 years ago
Mickaël Menu dd561be1a7
Fix matching relative link href with LSP 3 years ago
Mickaël Menu 19f6009997
Fix go to definition with neovim 0.5 3 years ago
Mickaël Menu 7122f7e461
Improve build instructions 3 years ago
Mickaël Menu ba41fe5a71
Experimental LSP server (#21) 3 years ago
Mickaël Menu be78def5aa
Fix #20 local configuration is optional 3 years ago
Mickaël Menu 3889fff457
Release zk 0.3.0 3 years ago
Mickaël Menu fa66e78068
Add named filters (#17) 3 years ago
Mickaël Menu 695a3bc351
Fix fzf preview command when setting --notebook-dir 3 years ago
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`
3 years ago
Mickaël Menu ec574ff519
Fix #4 terminal borked when piping content with Vim 3 years ago
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
3 years ago
Mickaël Menu 26ffc544f2
Fix missing import 3 years ago
Mickaël Menu e653c71356
Specify the notebook directory explicitly (#14) 3 years ago
Mickaël Menu be8b2d6289
Fix --version output 3 years ago
Mickaël Menu b82f1f547c
Add a global configuration file (#12) 3 years ago
Mickaël Menu 925e5337bc
Release zk 0.2.1 3 years ago
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 29a01c793a
Update README 3 years ago
Mickaël Menu 9a93b0aabb
Release zk 0.2.0 3 years ago
Mickaël Menu 314024eae0
Add the --mention filtering option (#8) 3 years ago
Mickaël Menu 87b5201583
Explain how to use the tags in the documentation 3 years ago
Mickaël Menu 202ea62322
Use the YAML frontmatter key `date` for the note creation date, when provided 3 years ago
Mickaël Menu 36365c68fb
Expose environment variables to note templates with the new {{env}} variable 3 years ago
Mickaël Menu 9fda155a99
Add a [format.markdown] config section to customize tags syntax 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 7dc3120d3a
Separate multiple --extra variables with , instead of ; 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 a4b961c36a
Add screencasts in the Getting Started page 3 years ago
Mickaël Menu 838f316694
Add a screencast to the README 3 years ago
Mickaël Menu 6175a73c1c
Parse labels in [[wiki links | label]] and support escaped characters 3 years ago
Mickaël Menu a5b7639bcd
Enable overriding sort criteria of config aliases with --sort flags 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 81f3aaa6fa
Add a default template 3 years ago
Mickaël Menu 7c1bd8b318
Improve README 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 6ce25e0ed6
Add doc pages 3 years ago
Mickaël Menu 0e447f749e
Setup Git LFS 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 14bf4d507c
Add support of ZK_EDITOR to set the editor 3 years ago
Mickaël Menu ca56b4b550
Ask to open any existing note with `zk new` 3 years ago
Mickaël Menu bfc5fb4eb9
Allow glob patterns in group.paths config 3 years ago