emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using backticks for the inline code delimeter?


From: Sébastien Miquel
Subject: Re: Using backticks for the inline code delimeter?
Date: Wed, 31 Mar 2021 21:24:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0

George Mauer writes:
is there a straightforward way to extend the org parser to do this?

I don't think so. It seems the emphasis markers are hard-coded
in various places.

From a quick look at the code, you'd have to customize
`org-emphasis-alist` and redefine `org-set-emph-re`  and
`org-do-emphasis-faces`. Maybe that'd be enough.


For the cosmetic part, there's this  piece of code from
https://archive.casouri.cat/note/2020/better-looking-verbatim-markup-in-org-mode/index.html
that displays org's `=` and `~` markers as ```.

--
Sébastien Miquel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]