[O] Help needed - export markdown is it supposed to pre-pend html?

2014-04-03 Thread Rick DeNatale
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
h2Table of Contents/h2
div id=text-table-of-contents
ul
lia href=#sec-11. Top level headline/a
ul
lia href=#sec-1-11.1. Second level/a
ul
lia href=#sec-1-1-11.1.1. Third level/a/li
lia href=#sec-1-1-21.1.2. Third level/a/li
/ul
/li
/ul
/li
lia href=#sec-22. 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


Re: [O] Help needed - export markdown is it supposed to pre-pend html?

2014-04-03 Thread Charles Berry
Rick DeNatale rick.denatale at gmail.com writes:

 
 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
 
 


Add:

#+OPTIONS: toc:nil

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

[delete output with table-of-contents at top]

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

Yes. Use the line above to get rid of the table of contents.

Grep through the manual for '#+OPTIONS' to get up to speed.

HTH,

Chuck