emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: flow <adolflow@sindominio.net>
To: emacs-orgmode@gnu.org
Subject: Re: orgmode to markdown
Date: Tue, 02 Jun 2015 11:34:26 +0200	[thread overview]
Message-ID: <1433237666.15774.24.camel@sindominio.net> (raw)
In-Reply-To: <87iob85rd2.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

Hello Nicolas


El lun, 01-06-2015 a las 00:12 +0200, Nicolas Goaziou escribió:
> Hello,
> 
> flow <adolflow@sindominio.net> writes:
> 
> > 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?
> 
> "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 ===, I don't mind
- 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.

> 
> Regards,

Best

-- 
"La tradición de los oprimidos nos enseña que la regla es el «estado de
excepción» en el que vivimos." Walter Benjamin, Tesis de Filosofía de la
historia


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-06-02  9:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31  9:36 orgmode to markdown flow
2015-05-31 22:12 ` Nicolas Goaziou
2015-06-02  9:34   ` flow [this message]
2015-06-03 22:18     ` Nicolas Goaziou
2015-06-04  9:54       ` Rasmus
2015-06-04 13:26       ` flow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433237666.15774.24.camel@sindominio.net \
    --to=adolflow@sindominio.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).