Escape pipe-character in org-mode

落爺英雄遲暮 提交于 2019-11-27 20:04:14

\vert for the pipe.

Forward slashes seem to work fine for me unescaped when exporting both to HTML and PDF.

Use a broken-bar character, “¦”, Unicode 00A6 BROKEN BAR. This may or may not work for your specific needs, but it’s a good visual approximation.

You could also format the relevant text as verbatim or code:

Text in the code and verbatim string is not processed for Org mode specific syntax; it is exported verbatim.

So you might try something like =foo | bar= (code) or foo ~|~ bar (verbatim). It does change the output format, though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!