-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deft doesn't strip #+STARTUP options at the beginning of note from title #118
Comments
The first line of an org file is customarily the Note that Regarding the link highlighting, how have you set |
First, thanks for your help. I actually learned from other users and set my orgfiles to be of the form:
I like this approach because I don't have the title and then lots of setting in between the main text and the title, it's just a preamble with settings. My zetteldeft-title-prefix’s value is:
I modified to suit my needs. As for my setteldeft-id-regex, I modified it also:
|
So these are actually two separate issues. First the titles: Zetteldeft relies on Deft to figure out the title of a note, so the challenge here is to figure Deft correctly. Take a look at Second the link highlighting: this is indeed something Zetteldeft should take care of. How did you customize the |
Thanks! (1) deft-strip-title-regexp: (2) zetteldeft-id-regex should be correct: edit: I forgot to answer your question on how I set up this variable:
and I call it on my init AFTER requiring zetteldeft. edit: calling it before fixes the issue (2), thanks! |
My format for new notes has some
#+STARTUP: options
lines at the start of the buffer, the first one being "+STARTUP: overview
".When I use functions like
zetteldeft-insert-list-links
andzetteldeft-file-rename
, the list of links I get retrieves the first line of the note as the title:zetteldeft-insert-list-links
:zetteldeft-file-rename
:I am not sure if I am doing something wrong or should tweak my configuration.
Any help provided welcome, thanks!
On a side note, the format of the links shows like this on my Emacs (tried many themes invariably):
This is, the last two digits of the ID are not fontified like the rest.
The text was updated successfully, but these errors were encountered: