How can I emphasize or verbatim quote a comma in org mode?

前端 未结 2 1394
不知归路
不知归路 2021-01-03 07:40

I tried to make the comma *,* bold, but no success. I tried with verbatim =,=, but no success as well.

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 08:04

    There's a similar problem and I've figured out a solution.

    @itsjeyd's solution is right but not 100% correct. We need an extra (org-element--set-regexps).

    The full code snippets:

    (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n\r")
    (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))
    (org-element--set-regexps)
    

提交回复
热议问题