From mboxrd@z Thu Jan 1 00:00:00 1970 From: flow Subject: Re: orgmode to markdown Date: Tue, 02 Jun 2015 11:34:26 +0200 Message-ID: <1433237666.15774.24.camel@sindominio.net> References: <1433064971.9859.25.camel@sindominio.net> <87iob85rd2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-W6jk0gbl1ODZDDavsa7w" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzibL-0003cw-Ip for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 05:35:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzibI-0006uS-8v for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 05:35:15 -0400 Received: from eternauta.sindominio.net ([80.81.122.47]:39847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzibE-0006VJ-UD for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 05:35:12 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by lesnaus.sindominio.net (Postfix) with ESMTP id CD6B4404434 for ; Tue, 2 Jun 2015 11:34:53 +0200 (CEST) Received: from eternauta.sindominio.net ([127.0.0.1]) by localhost (lesnaus.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZrRk1fbbSB2Y for ; Tue, 2 Jun 2015 11:34:47 +0200 (CEST) Received: from lozoya (listas.medialab-prado.es [88.26.229.86]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by lesnaus.sindominio.net (Postfix) with ESMTPSA id 873C340450D for ; Tue, 2 Jun 2015 11:34:39 +0200 (CEST) In-Reply-To: <87iob85rd2.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@gnu.org --=-W6jk0gbl1ODZDDavsa7w Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Nicolas El lun, 01-06-2015 a las 00:12 +0200, Nicolas Goaziou escribi=C3=B3: > Hello, >=20 > flow writes: >=20 > > I would like to ask you about how org-mode exports title and headlines > > to markdow > > > > org-mode to markdown doesn't export title as md heading one # and > > org-mode heading one as heading one but heading two > > > > I think it should work as org-mode to html: > > > > org-mode title to md heading one # > > org-mode heading one * to md heading two (##) > > > > What do you think about it? >=20 > "ox-md" supports Setext-type headlines, which are limited to 2 levels. > Using a title as the first level leaves only one level for regular > headlines. I guessed setext support 6 levels so I don't know why ox-md supprot just 2 levels although my exporter seems to support 3 levels. Why? That's a good question but not what I wanted to know. What I want -and I would like to know whay ox-md doesn't- is to export org as org-mode to html does: - The title becomes h1, so the org title becomes # or =3D=3D=3D, I don't mi= nd - The * becomes h2, so the org * becomes ## or ---- - The ** becomes h3, so the org ** becomes ### (in case it supports 3 leveles) - etc. What do you think about it? > Also, it doesn't solve the problem of author, date and email, which do > not appear either in the output. I think they are part of the same > problem: (vanilla) markdown has no real support for meta-data. I wasn't considering that it is very interesting though. However in the scenarios I would like to use widely orgmode to markdown it is not necessary metadata. >=20 > Regards, Best --=20 "La tradici=C3=B3n de los oprimidos nos ense=C3=B1a que la regla es el =C2= =ABestado de excepci=C3=B3n=C2=BB en el que vivimos." Walter Benjamin, Tesis de Filosof= =C3=ADa de la historia --=-W6jk0gbl1ODZDDavsa7w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVbXiiAAoJEHHxaMZhqplwZNoQAJk3u1g9GZmD0B9EBTGNu4Dg bRCe0ofRjV2oR+77Kf5R/GSaKCLFbTaGoqvGbxr8SKLhxLjspcphKAX/+1uWqYi0 tLTUWTmyiwhi9iD8YVB9whRJ4L3H2ih0DyNvIjmPlIGWj/Q41+04wlIzXSYxFxgQ sFRbdBoeL6Gx2YKq4mw4Z7ysOwVmahjvhOgKnqoYGJCTpewuBKNmbM/XyQBVDmrf e7uOBB/x+l4ao5SGbkZP7A/Ian69WxE40JubFuQ8Ni9bksdugpFFznTDjAcfOPPK VDDgLVlzRM8zgOw5Mz0YN4khMz9Z72rCN22lrSH1OZKC5nEYNXHlejhjTx9Dp0/Y 6mhy2B4HrcuDmQ+wMh48Ks6aiysuMdp+Rb4Tz7bnSJoLO9Ngv2C4AGKt47BQILP3 Xe/uQFkpj5KnR4M+sPxTlFfbwnYynhYB2QeJCnn6vGCXTHufUqPBSRP+1fk+EYvP BQyVRgpQT55vB1MPVR0hen6XpbjEQMlppi6aZHQGOGoIf8Eah+Bd2g63uBtcZcXH ppB7Dmg0fJ4L7Rxg8nLYlJOOJNhYuAsnJxdBNj430ogIqT+PRSVVCuCepJJLBGNE Py8J0dip25uYUFq45AJXbu0G15dXIiB9SpqopQgOsXMqXz9HLRvx2XROzbBt7lxR +cgPYE4sAQGyK+G3y8jI =HCst -----END PGP SIGNATURE----- --=-W6jk0gbl1ODZDDavsa7w--