From mboxrd@z Thu Jan  1 00:00:00 1970
From: =?utf-8?Q?Denis_Bitouz=C3=A9?= <dbitouze-39ZsbGIQGT5GWvitb5QawA@public.gmane.org>
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: Mon, 14 Sep 2015 09:46:01 +0200
Message-ID: <m3bnd578au.fsf@example.com>
References: <m3lhcb91nn.fsf@drums.chezmoi.fr>
	<87bnd6ulv0.fsf@nicolasgoaziou.fr> <m3io7e5anb.fsf@example.com>
	<87y4gat5az.fsf@nicolasgoaziou.fr>
	<alpine.OSX.2.20.1509131701560.819@charles-berrys-macbook.local>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org>
In-Reply-To: <alpine.OSX.2.20.1509131701560.819-iDQ3frm8jJiryYnjg5slPZa4wMfmKMrbhPhL2mjWHbk@public.gmane.org>
	(Charles C. Berry's message of "Sun, 13 Sep 2015 17:10:08 -0700")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode-mXXj517/zsQ@public.gmane.org>
List-Help: <mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=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: "Charles C. Berry" <ccberry-XkckGZ689+c@public.gmane.org>
Cc: Denis =?utf-8?Q?Bitouz?= =?utf-8?Q?=C3=A9?= <public-dbitouze-39ZsbGIQGT5GWvitb5QawA-wOFGN7rlS/M9smdsby/KFg@public.gmane.org>, Nicolas Goaziou <mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org>, public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org



Le 14/09/15 =C3=A0 02h10, "Charles C. Berry" <ccberry-XkckGZ689+c@public.gmane.org> a =C3=A9cri=
t :

> On Sun, 13 Sep 2015, Nicolas Goaziou wrote:
>
>>
>>
>> Denis Bitouz=C3=A9 <dbitouze-39ZsbGIQGT5GWvitb5QawA-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> wr=
ites:
>>
> [...]
>
>> 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.
>>
>
> If this creates a backend derived from 'md (and does not modify ox-md.el),
> then fine. But, ...
>
> It seem like there are flavors of Markdown that use verticals for varying
> purposes.

Sigh... :)

> For example, rmarkdown
>
> 	http://rmarkdown.rstudio.com/authoring_pandoc_markdown.html
>
> uses them as `line block' markers and to construct `table.el' style table=
s.
>
> And I have seen verticals used to set off citations elsewhere.

Sigh... again :)

> And I am not even sure what Denis meant by using them to `interpret
> strings'.

As said, I'm only a very occasional markdown user, mainly on github and
SE (flavors).

In my current usecase (on a OSQA site), e.g. |REP_GAIN_BY_UPVOTED|
entered as markdown displays the value of REP_GAIN_BY_UPVOTED (some
internal site variable) when rendered as HTML.

Anyway, as pointed out in my answer to Nicolas, it may be useful to
other org mode users to be able to obtain "real" pipe symbol in markdown
export. Hence, a new entity that becomes | when used in md export could
be nice...

Best.
--=20
Denis