From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Denis_Bitouz=C3=A9?= Subject: Re: Bug: \vert{} exported to markdown not as expected [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/bitouze/.emacs.d/elpa/org-20150907/)] Date: Sun, 13 Sep 2015 22:26:00 +0200 Message-ID: References: <87bnd6ulv0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <87bnd6ulv0.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org> (Nicolas Goaziou's message of "Sun, 13 Sep 2015 22:04:35 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Le 13/09/15 =C3=A0 22h04, Nicolas Goaziou a =C3=A9= crit : > Hello, Hello, > dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org (Denis Bitouz=C3=A9) writes: > >> The following file: >> >> #+NAME: test.org >> #+begin_src org >> Foo |bar_baz| >> >> Foo \vert{}bar\under{}baz\vert{} >> #+end_src >> >> is exported to markdown as follows: >> >> #+NAME: test.md >> #+begin_src markdown >> Foo |bar\_baz| >> >> Foo |bar_baz| >> #+end_src >> >> Whereas: >> >> - \under{} gives the expected underscore symbol (_), >> - \vert{} gives | instead of the expected pipe symbol (|). > > What is wrong with |? Doesn't Markdown accept HTML entities > anyway? The point is the following: the site where the .md file (exported from the .org file) will be used has this (maybe current) feature to be able to interpret strings such as: |REP_TO_COMMENT| Hence, I have to export "real" _ and |. 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 |, not as "real" |. In other words, I was happy with \under{} that exports real _ and, IMHO, \vert{} should do the same with |. Regards. --=20 Denis