Skip to content

Commit

Permalink
Add tags for markdown-buffer ekg notes on save and exit (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyatt authored Oct 25, 2024
1 parent 839c6ce commit 981606f
Show file tree
Hide file tree
Showing 4 changed files with 348 additions and 306 deletions.
6 changes: 6 additions & 0 deletions doc/ekg.org
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ triples library is already installed.
- Add contrib directory and =ekg-email= as a contribution to import emails to notes in a structured way.
- Fix inlines not expanding in the contextual notes in =ekg-llm=.
- Set =default-directory= to db location in notes buffers (by [[https://github.com/monkpearman][S Pearman]]).
- Add tags when saving and exiting notes for any linkified markdown links.
** Version 0.6.3
- Fix issue in trying to get a single-valued item to show up in the metadata line.
- Remove the never-used named, email, and person schema.
Expand Down Expand Up @@ -312,6 +313,11 @@ prefix that indicates a tag prefix, "person/rms". The color will not be picked
up as a tag, because it is not enclosed in brackets. This helps us avoid false
positives.

In =org-mode= and =markdown-mode=, linkified links, which you get with tag
completion if =ekg-linkify-inline-tags= is true, the links will be detected as
tags, and the tags will be added to the list of note tags on saving and exiting
the note.

There is no functionality to remove inline tags that are deleted in the tag
section. If an inline tag is not deleted in the note text, the tag will be
re-added.
Expand Down
7 changes: 7 additions & 0 deletions doc/ekg.texi
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ Add contrib directory and @samp{ekg-email} as a contribution to import emails to
Fix inlines not expanding in the contextual notes in @samp{ekg-llm}.
@item
Set @samp{default-directory} to db location in notes buffers (by @uref{https://github.com/monkpearman, S Pearman}).
@item
Add tags when saving and exiting notes for any linkified markdown links.
@end itemize

@node Version 063
Expand Down Expand Up @@ -662,6 +664,11 @@ prefix that indicates a tag prefix, "person/rms". The color will not be picked
up as a tag, because it is not enclosed in brackets. This helps us avoid false
positives.

In @samp{org-mode} and @samp{markdown-mode}, linkified links, which you get with tag
completion if @samp{ekg-linkify-inline-tags} is true, the links will be detected as
tags, and the tags will be added to the list of note tags on saving and exiting
the note.

There is no functionality to remove inline tags that are deleted in the tag
section. If an inline tag is not deleted in the note text, the tag will be
re-added.
Expand Down
Loading

0 comments on commit 981606f

Please sign in to comment.