emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to avoid generating the Table of Contents when exporting to mark


From: Tim Cross
Subject: Re: How to avoid generating the Table of Contents when exporting to markdown?
Date: Sun, 31 Jan 2021 09:36:30 +1100
User-agent: mu4e 1.5.8; emacs 27.1.91

Rodrigo Morales <moralesrodrigo1100@gmail.com> writes:

> When answering questions in Emacs Stack Exchange, I usually write my answer
> in Org Mode and then export it to Markdown so that I can copy it to the
> answer textbox in Stack Exchange. For this reason, I don't need the
> export to contain a Table of Contents because the Markdown content is
> not big enough to require it.
>
> For this reason, I don't want the Table of Contents to be included when
> exporting.

You can try putting

#+OPTIONS: toc:nil

in the header of your org file. This is covered in the 'Table of
Contents' sub-section of the Exporting section of the org manual.


--
Tim Cross



reply via email to

[Prev in Thread] Current Thread [Next in Thread]