Org Appear

about | blog | config | notes | github

1. What is it?

org-appear provides a way to toggle various emphasis markers, links, subscripts, as the cursor appears over them. This helps keep the buffers very clean and tidy!

An important thing to keep in mind about this package is that it does not support handling overlapping emphasis markers.

*Why would someone /nest emphasis* like that?/

2. Package Install

2.1. Setup Dependencies

(require 'init-org)

2.2. Package Install

Install the package and add the hook to Org-mode.

(use-package org-appear
  :disabled
  :hook (org-mode . org-appear-mode))

2.3. Hide Emphasis Marker

We must also make sure that org-hide-emphasis-markers is set to t (otherwise, what is the point lol?)

(when (featurep 'org-appear)
  (setq org-hide-emphasis-markers t))

2.4. Autohide Elements

I don't autoshow links and entities, but I do autohide emphasis and submarkers.

(setq org-appear-autoentities nil)
(setq org-appear-autolinks nil)
(setq org-appear-autoemphasis t)
(setq org-appear-autosubmarkers t)

2.5. Feature Provide

(provide 'init-org-appear)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)