Variable: org-modern-keyword

org-modern-keyword is a customizable variable defined in org-modern.el.

Value

t

Documentation

Prettify keywords like #+title.

If set to t, the prefix #+ will be hidden. If set to a string, e.g., "‣", the string is used as replacement for #+. If set to an alist of keywords and strings, the associated string will be used as replacement for "#+keyword:", with t the default key. Example:

  (setq org-modern-keyword
    (quote (("options" . "🔧")
            (t . t))))

Source Code

;; Defined in /nix/store/0fwir9vccqq0yiqnswyf22ip3sl68f49-emacs-packages-deps/share/emacs/site-lisp/elpa/org-modern-20260722.1411/org-modern.el
(defcustom org-modern-keyword t
  "Prettify keywords like #+title.
If set to t, the prefix #+ will be hidden.  If set to a string,
e.g., \"‣\", the string is used as replacement for #+.  If set to
an alist of keywords and strings, the associated string will be
used as replacement for \"#+keyword:\", with t the default key.
Example:

  (setq org-modern-keyword
    (quote ((\"options\" . \"🔧\")
            (t . t))))"
  :type '(choice (boolean :tag "Hide prefix")
                 (string :tag "Replacement")
                 (const :tag "Triangle bullet" "‣")
                 (alist :key-type (choice (string :tag "Keyword")
                                          (const :tag "Default" t))
                        :value-type (choice (string :tag "Replacement")
                                            (const :tag "Hide prefix" t)))))