On 01/04/2021 02:24, Sébastien Miquel wrote:
George Mauer writes:
is there a straightforward way to extend the org parser to do this?
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
Personally, I consider marker appearance as a minor issue. The real pain
is that, besides thinking on content, it is necessary to concentrate
which type of plain text markup must be used at every moment. Switching
between chat with markdown and bug tracker with a flavor of wiki markup,
it requires additional efforts to avoid incorrect formatting. I do not
mind to have backticks for code snippets in org but unfortunately the
choice was done many years ago, so such change is unrealistic.
Remapping "`" is rather intrusive. Would not be better to define a
command and key binding that fix markers on the current line or in the
current paragraph?
A strange idea. If logic were perfectly decoupled from formatting it
would be possible to have org actions with various formats (markdown,
reStructured text, etc.) with some extensions to markup and limitations
in respect to org functionality. I know that is unfeasible.