minad / org-modern

:unicorn: Modern Org Style
GNU General Public License v3.0
1.55k stars 48 forks source link

`org-modern-keyword` didn't modify `title` keyword #115

Closed rezaamashi closed 1 year ago

rezaamashi commented 1 year ago

Hi, Thanks for the amazing package

I have an doom emacs set up and set org-modern-keyword to

(use-package!
    :custom
   (org-modern-keyword 
      '((t . t)
        ("title" . "") ;; to hide the keyword and only show the content
        ("subtitle" . "") 
        ("macro" . "Ⓜ")    
        ;; and more  
       )))

This only hide the #+subtitle: keyword but not #+title:. Consult the attached images below. Although I increase the size of the org-document-title face (Attachment 1). I also tried it in a lean, non-doom, environment with this init.el (Attachment 2). but the problem persists. Lastly, I also tried to change set titlekeyword to ("title" . "T") or anything else but the problem persists. Thanks

Attachment 1 - with my Doom setup Screenshot-2023030585649

Attachment 2 - with a lean sandbox environment Screenshot-2023030585652

minad commented 1 year ago

There seems to be a typo in your init.el. "title " instead of "title".

rezaamashi commented 1 year ago

There seems to be a typo in your init.el. "title " instead of "title".

Hi, I forget to check back on this issue. Yes, it is. The typo is the culprit. Thank you.