From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: ox-md export title block Date: Fri, 23 Oct 2015 20:41:02 -0400 Message-ID: References: <87fv11z5f8.fsf@gmx.us> <87wpud700j.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0115ec10934adb0522cefb3c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpmtN-0001ot-4Z for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 20:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpmtL-0005TD-OH for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 20:41:05 -0400 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:35629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpmtL-0005St-Iy for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 20:41:03 -0400 Received: by igbkq10 with SMTP id kq10so27141265igb.0 for ; Fri, 23 Oct 2015 17:41:03 -0700 (PDT) In-Reply-To: <87wpud700j.fsf@alphaville.usersys.redhat.com> 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 Cc: Org Mode --089e0115ec10934adb0522cefb3c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Oct 23, 2015 at 5:22 PM, Nick Dokos wrote: > Nicolas Goaziou writes: > > > However, "ox-md.el" is for Vanilla Markdown, where such constructs do > > not exist. So it cannot be applied there. > > > ISTR there are a few others export back-ends in contrib/ that may use > > this. You may also create ox-md-pandoc.el if it doesn't exist already. > > Rasmus writes: > > > I don't think it's inadequate, but I also don't know if this should be > > part of ox-md in it=E2=80=99s present form. > > > > The original md specification doesn=E2=80=99t seem to support this synt= ax: > > > > https://daringfireball.net/projects/markdown/syntax > > > > (I searched for % and author). > > > > Would it be recognized by say Github or Stack Exchange? On Github > > "^% Rasmus\n" is printed as just that, so I guess not. > > > > Perhaps it would be better to define a new backend, ox-md-pandoc.el, or > > add a "#+MARKDOWN_FLAVOR" keyword to condition such insertions on. > > > > Great minds always meet ;-) > > -- > Nick > > > OK, I've written a totally primitive ox-md-pandoc.e. For now it's up on github, because it's veyr clumsy and doesn't support enough of the pandoc syntax. I put it here: https://github.com/titaniumbones/org-md-pandoc I would love it if other people would help me improve it. I put a few ideas in the README. Happy to add to contrib if/when people think it's good enough to be of general use. --089e0115ec10934adb0522cefb3c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Oct 23, 2015 at 5:22 PM, Nick Dokos <ndokos@gmail.com> wrote:
Nicolas Goaziou <mail@= nicolasgoaziou.fr> writes:

> However, "ox-md.el" is for Vanilla Markdown, where such cons= tructs do
> not exist. So it cannot be applied there.

> ISTR there are a few others export back-ends in contrib/ that may use<= br> > this. You may also create ox-md-pandoc.el if it doesn't exist alre= ady.

Rasmus <rasmus@= gmx.us> writes:

> I don't think it's inadequate, but I also don't know if th= is should be
> part of ox-md in it=E2=80=99s present form.
>
> The original md specification doesn=E2=80=99t seem to support this syn= tax:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 https://da= ringfireball.net/projects/markdown/syntax
>
> (I searched for % and author).
>
> Would it be recognized by say Github or Stack Exchange?=C2=A0 On Githu= b
> "^% Rasmus\n"=C2=A0 is printed as just that, so I guess not.=
>
> Perhaps it would be better to define a new backend, ox-md-pandoc.el, o= r
> add a "#+MARKDOWN_FLAVOR" keyword to condition such insertio= ns on.
>

Great minds always meet ;-)

--
Nick


OK, I've written a totally primitive ox-md-pandoc.e.= =C2=A0 For now it's up on github, because it's veyr clumsy and does= n't support enough of the pandoc syntax.=C2=A0 I put it here:

https://github.com= /titaniumbones/org-md-pandoc

I = would love it if other people would help me improve it. I put a few ideas i= n the README.=C2=A0 Happy to add to contrib if/when people think it's g= ood enough to be of general use.=C2=A0
--089e0115ec10934adb0522cefb3c--