Denis Bitouzé <dbitouze-39zsbgiqgt5gwvitb5q...@public.gmane.org> writes:

> 1. For _, \under{} is necessary since _ at the org mode level is
>    exported as \_.
> 2. For |, source | could be okay. But I'd like to use strings as above
>    in tables and, AFAIK, the only way to have pipe symbols in a table at
>    the org mode level is to code them \vert{}.  And that's the purpose
>    of my bug report, \vert{} is exported as &vert;, not as "real" |.
>
> In other words, I was happy with \under{} that exports real _ and, IMHO,
> \vert{} should do the same with |.

Markdown export back-end use :html conventions to translate entities.
For some reason, HTML prefers &vert; over |, and so does markdown.

There are a few options available:

  1. Prefer | over &vert; in HTML
  2. Overwrite "vert" entity with a new one that would do 1. So
     basically, this is 1 but on your machine only.
  3. Use a new entity that becomes | when used in HTML export.

WDYT?

Regards,


Reply via email to