Hiding markup elements in org-mode

前提是你 提交于 2019-12-21 06:47:50

问题


There are plenty structural markup elements in org-mode like *bold* or /italic/, but they are visible in the org-mode text, which is good, if the file is intended for export, and bad, if it is intended for semi-WYSIWYG editing. I want to hide these markup symbols, so the *bold* becomes bold, just like links hide their square brackets.

Is that possible in org-mode out of the box? If not, then please suggest an elisp code, that can solve this problem.


回答1:


Try:

(setq org-hide-emphasis-markers t)

or set it via customize:

M-xcustomize-variableRETorg-hide-emphasis-markersRET



来源:https://stackoverflow.com/questions/10969617/hiding-markup-elements-in-org-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!