Commit Graph

27 Commits (b82f1f547cd70ee34a0180c5e0039fafdd513d48)

Author SHA1 Message Date
Mickaël Menu b82f1f547c
Add a global configuration file (#12) 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 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 5a00a56984
Check if the terminal supports UTF-8 before outputting unicode symbols 3 years ago
Mickaël Menu 4c8a7b4105
Rename every occurrence of "slip box" into "notebook" 3 years ago
Mickaël Menu 4bff1cd326
Reorganize config structure 3 years ago
Mickaël Menu 1f0e536e14
Differentiate empty string from null strings for the pager in the config 3 years ago
Mickaël Menu 6320a627d2
Set ZK_PATH env variable when opening the local slip box, to be used in shell aliases 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 5ef45020f0
Remove the no-pager config variable 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 225b0c2603
Add support for user aliases 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 fe6b062309
Filter notes interactively with fzf 3 years ago
Mickaël Menu 5759896fd4
Refactor note formatter 3 years ago
Mickaël Menu 29688186f2
Add a proper Markdown parser 3 years ago
Mickaël Menu a691a8857c
Support `pager` and `no-pager` config options 3 years ago
Mickaël Menu e47eabf421
Add the core Styler, a default TTY implementation and a {{style}} template helper 3 years ago
Mickaël Menu 9a397eff61
Require the date to be passed as the first argument of the {{date}} helper 4 years ago
Mickaël Menu 378834c495
Add language, file extension and default title in user config 4 years ago
Mickaël Menu 0573852529
Index notes content 4 years ago
Mickaël Menu 4dad3a2309
Add the initial DB schema 4 years ago
Mickaël Menu 9b7d5eca1e
Refactor templates 4 years ago
Mickaël Menu abe0094dda
Refactor config getters into Zk 4 years ago
Mickaël Menu 7c2e76a01c
Add the dependency container 4 years ago