From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to avoid generating the Table of Contents when exporting to markdown?
Date: Sun, 31 Jan 2021 09:36:30 +1100 [thread overview]
Message-ID: <878s8a2gl5.fsf@gmail.com> (raw)
In-Reply-To: <87ft2iyspy.fsf@gmail.com>
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
next prev parent reply other threads:[~2021-01-30 22:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-30 22:18 How to avoid generating the Table of Contents when exporting to markdown? Rodrigo Morales
2021-01-30 22:36 ` Tim Cross [this message]
2021-01-30 22:38 ` Diego Zamboni
2021-01-30 23:14 ` Rodrigo Morales
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=878s8a2gl5.fsf@gmail.com \
--to=theophilusx@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).