简体   繁体   English

emacs / org-mode出口重音

[英]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 (`). .org导出到.md (使用ox-gfm或常规markdown)组织模式会在每个尖音符号(`)之前添加多余的反斜杠(\\)。 So `path/file` becomes \\`path/file\\`. 所以`path / file`变成\\`path / file \\`。

Any idea how I can turn that off? 知道如何关闭它吗?

Thanks, F 谢谢,F

The backtick (grave accent) in Markdown is used to delimit code samples. Markdown中的反引号(重音符号)用于定界代码样本。

The equivalent in org-mode is the equal sign. 组织模式下的等效符号是等号。 For example, the following orgmode: 例如,以下组织模式:

The file is at =/tmp/toto=

Exports as Markdown to: 导出为Markdown到:

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. 如果您想要Markdown中的反引号,则必须对其进行转义 ,而这正是组织模式导出器正在执行的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM