Fabian_G
Fabian_G

Reputation: 431

emacs/org-mode export accent acute

Exporting from .org to .md (using either ox-gfm or normal markdown) org-mode adds unwanted backslashes (\) before each acute accent (`). So `path/file` becomes \`path/file\`.

Any idea how I can turn that off?

Thanks, F

Upvotes: 0

Views: 322

Answers (1)

Juancho
Juancho

Reputation: 7372

The backtick (grave accent) in Markdown is used to delimit code samples.

The equivalent in org-mode is the equal sign. For example, the following orgmode:

The file is at =/tmp/toto=

Exports as Markdown to:

The file is at `/tmp/toto`

If you want a backtick in Markdown, you have to escape it, and that is precisely what the org-mode exporter is doing.

Upvotes: 1

Related Questions