Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 PC 和 Mac 使用相同的组织模式 (7.01h)。问题是对于标题,mac 通过将所有 pre * 的颜色更改为与背景相同的颜色仅显示最后一个 *,而 PC 中的 orgmode 显示所有 *。我更喜欢Mac的方式。
是什么造成了这种差异?如何仅在标题中显示最后一个 *?
设置变量org-hide-leading-stars。
org-hide-leading-stars
您可以M-x customize-variable org-hide-leading-stars或仅(setq 'org-hide-leading-stars)在 .emacs 文件中。
M-x customize-variable
(setq 'org-hide-leading-stars)
我不确定是什么导致了您使用的两个操作系统之间的差异,但您可以通过添加来选择隐藏星号
#+STARTUP: hidestars
到您的组织文件的顶部。有关更多信息,请查看缓冲区内设置的手册页