emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Turn off html entities in md export


From: Rustom Mody
Subject: Re: [O] Turn off html entities in md export
Date: Fri, 26 Jun 2015 13:41:04 +0530



On Fri, Jun 26, 2015 at 1:24 PM, Nicolas Goaziou <address@hidden> wrote:
Hello,

Rustom Mody <address@hidden> 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 …
-- becomes –
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-markdown-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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]