emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rafael <rvf0068@gmail.com>
To: Emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Markdown exporter deletes a line before a list
Date: Thu, 14 Aug 2014 22:56:26 -0500	[thread overview]
Message-ID: <86iolus8wl.fsf@gmail.com> (raw)


I'm not sure if this is a feature or a bug. Consider this org file:

#+BEGIN_SRC org
  ,* A test
    - one
    - two

  ,* Another test

    Consider this list:

    - three
    - four
#+END_SRC

Using the markdown exporter, this exports to (after the toc):

#+BEGIN_EXAMPLE
  # A test<a id="sec-1"></a>

  -   one
  -   two

  # Another test<a id="sec-2"></a>

  Consider this list:
  -   three
  -   four
#+END_EXAMPLE

That is, if the list follows a heading, a blank line is added, which is
OK. But if there is text between the heading and the list, the blank
line is deleted, which is definitely not OK to me.

If this is a feature, I would appreciate some guidance to have the
markdown exporter to preserve a blank line before lists. 

I tried the test with org just pulled from git, and emacs -Q -l, as
described in the manual.

Thanks for any advice, 
Rafael

             reply	other threads:[~2014-08-15  3:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15  3:56 Rafael [this message]
2014-08-16 14:30 ` Markdown exporter deletes a line before a list Nicolas Goaziou

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=86iolus8wl.fsf@gmail.com \
    --to=rvf0068@gmail.com \
    --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).