emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Hetzner <egh@e6h.org>
To: Michel Kuhlmann <michel@kuhlmanns.info>
Cc: emacs-orgmode@gnu.org
Subject: Re: ox-md conforming pandoc-markdown
Date: Wed, 22 Jan 2014 22:13:51 -0800	[thread overview]
Message-ID: <87lhy72pk0.wl%egh@e6h.org> (raw)
In-Reply-To: <20140121110001.GA7401@s15427742.onlinehome-server.info>

Hi Michel,

At Tue, 21 Jan 2014 12:00:01 +0100,
Michel Kuhlmann wrote:
> 
> Hi,
> I often convert files with `pandoc`. Currently there is no
> pandoc-org-mode-reader, so I'm using markdown as an intermediate step.
> 
> I'm aware of <https://github.com/robtillotson/org-pandoc.git>; this
> also uses `ox-md`, so the issue applies also there.
> 
> I found these issues inconvenient:
> 
> - Listings create blank-lines in between
>     + Currently
>                         - uno
>        - uno
>        - dos    ->      - dos
>        - tres
>                         - tres
>     + Desired
>        - uno            - uno
>        - dos    ->      - dos
>        - tres           - tres

This seems easy enough to fix, we simply need to add:

  (org-element-put-property item :post-blank nil)

to the org-md-item function. Can anybody tell me if this is a bad
idea? Otherwise I will send a patch.

> - customisable meta-data export (currently nothing exported) of, say,
>
> […]
>         * pandoc header
> 
>             % myTitle
>             % meMyself
>             % 2014-01-21

Basic support for this is in the org-pandoc project, which bases its
export on ox-md but adds some additional features.

I’d like to expand org-pandoc to support more pandoc features,
including those you mention. I just pushed up a (very rudimentary)
change to my fork of this project to support proper table export for
pandoc as well.

  https://github.com/egh/org-pandoc

best, Erik
-- 
Sent from my free software system <http://fsf.org/>.

  parent reply	other threads:[~2014-01-23  6:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 11:00 ox-md conforming pandoc-markdown Michel Kuhlmann
2014-01-21 17:08 ` Nicolas Goaziou
2014-01-23  6:13 ` Erik Hetzner [this message]
2014-01-23  7:18   ` Michel Kuhlmann
2014-01-23 11:12   ` Nicolas Goaziou
2014-01-23 12:02     ` Michel Kuhlmann

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=87lhy72pk0.wl%egh@e6h.org \
    --to=egh@e6h.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=michel@kuhlmanns.info \
    /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).