emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick DeNatale <rick.denatale@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Help needed - export markdown is it supposed to pre-pend html?
Date: Thu, 3 Apr 2014 17:59:23 -0400	[thread overview]
Message-ID: <CALS4=HCXDWaPEWqf73=V1Lh-GGmN4RJ9dT051AhWWC-OrqTRfA@mail.gmail.com> (raw)

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

Hi, I'm a fairly new org mode user.

I'm trying to export to markdown and I can't understand the output:

For example with the simple org mode buffer

* Top level headline
** Second level
*** Third level
    Some text
*** Third level
    More text
* Another top level headline

When I export with C-c C-e m M
I end up with the resulting buffer:

<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. Top level headline</a>
<ul>
<li><a href="#sec-1-1">1.1. Second level</a>
<ul>
<li><a href="#sec-1-1-1">1.1.1. Third level</a></li>
<li><a href="#sec-1-1-2">1.1.2. Third level</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#sec-2">2. Another top level headline</a></li>
</ul>
</div>
</div>

# Top level headline

## Second level

### Third level

Some text

### Third level

More text

# Another top level headline

Is this expected? or is there something wrong with my installation?

M-x org-version gives
Org-mode version 8.2.5h (8.2.4h-94-g91175a-elpa
@ /Users/rick/.emacs.d/elpa/org-20140331/)

I installed then used M-x customize-variable RET org-export-backends RET to
turn md on.


-- 
Rick DeNatale

[-- Attachment #2: Type: text/html, Size: 2172 bytes --]

             reply	other threads:[~2014-04-03 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03 21:59 Rick DeNatale [this message]
2014-04-03 23:56 ` Help needed - export markdown is it supposed to pre-pend html? Charles Berry

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='CALS4=HCXDWaPEWqf73=V1Lh-GGmN4RJ9dT051AhWWC-OrqTRfA@mail.gmail.com' \
    --to=rick.denatale@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).