From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rustom Mody Subject: Re: Turn off html entities in md export Date: Fri, 26 Jun 2015 13:41:04 +0530 Message-ID: References: <87y4j6sy53.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bb040c83079e9051967496b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8OjS-00019R-S7 for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 04:11:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8OjM-00036q-GM for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 04:11:30 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:34746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8OjM-00036h-9f for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 04:11:24 -0400 Received: by wicnd19 with SMTP id nd19so38274482wic.1 for ; Fri, 26 Jun 2015 01:11:23 -0700 (PDT) In-Reply-To: <87y4j6sy53.fsf@nicolasgoaziou.fr> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --047d7bb040c83079e9051967496b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jun 26, 2015 at 1:24 PM, Nicolas Goaziou wrote: > Hello, > > Rustom Mody writes: > > > Bitbucket does not allow html entities in markdown > > See https://bitbucket.org/rustom/vit-projects/wiki/emacs > > and search for &# > > > > So how to turn off html entities in md export? > > It depends on where these entities are coming from. > Simple basic thing ... becomes =E2=80=A6 -- becomes =E2=80=93 etc > > Anyway, vanilla Markdown supports HTML so anything "ox-md" cannot > translate into Markdown syntax (e.g., tables) is exported as pure HTML. > For systems (bitbucket is just a common example) that simply does not work because of security or whatever reasons See https://bitbucket.org/site/master/issue/6930/support-some-or-all-html-in-ma= rkdown-bb for BB users clamoring but BB not likely to listen > > And if thats not available any tips on how to hook say a sed-filter to > > ox-md export? > > See filters in (info "(org)Advanced configuration"). > Thanks Will try to check that out --047d7bb040c83079e9051967496b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Jun 26, 2015 at 1:24 PM, Nicolas Goaziou <= mail@nicolasgoa= ziou.fr> wrote:
Hello,

Rustom Mody <rustompmody@gmail.= com> writes:

> Bitbucket does not allow html entities in markdown
> See https://bitbucket.org/rustom/vit-projec= ts/wiki/emacs
> and search for &#
>
> So how to turn off html entities in md export?

It depends on where these entities are coming from.
=

Simple basic thing
... becomes =E2=80=A6<= br>
-- becomes =E2=80=93
etc
=C2=A0

Anyway, vanilla Markdown supports HTML so anything "ox-md" cannot=
translate into Markdown syntax (e.g., tables) is exported as pure HTML.
=

For systems (bitbucket is just a common ex= ample) that simply does not work because of security or whatever reasons
for BB us= ers clamoring but BB not likely to listen


> And if thats not available any tips on how to hook say a sed-filter to=
> ox-md export?

See filters in (info "(org)Advanced configuration").

Thanks
Will try to= check that out
--047d7bb040c83079e9051967496b--