* Help needed - export markdown is it supposed to pre-pend html?
@ 2014-04-03 21:59 Rick DeNatale
2014-04-03 23:56 ` Charles Berry
0 siblings, 1 reply; 2+ messages in thread
From: Rick DeNatale @ 2014-04-03 21:59 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help needed - export markdown is it supposed to pre-pend html?
2014-04-03 21:59 Help needed - export markdown is it supposed to pre-pend html? Rick DeNatale
@ 2014-04-03 23:56 ` Charles Berry
0 siblings, 0 replies; 2+ messages in thread
From: Charles Berry @ 2014-04-03 23:56 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-03 23:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 21:59 Help needed - export markdown is it supposed to pre-pend html? Rick DeNatale
2014-04-03 23:56 ` Charles Berry
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).