Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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
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
fb78993fbc
Save a link's context as a snippet 2021-01-30 16:32:58 +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
0512bf78b4
Add support for YAML frontmatters 2021-01-24 13:42:57 +01:00
Mickaël Menu
29688186f2
Add a proper Markdown parser 2021-01-16 19:37:10 +01:00