emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Rodrigo Morales <moralesrodrigo1100@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: How to avoid generating the Table of Contents when exporting to markdown?
Date: Sat, 30 Jan 2021 23:38:13 +0100	[thread overview]
Message-ID: <CAGY83Ec7bT5RGmVfvvUAy8U53Qc0YJZKGkkXwVYqX=8yqPjNqQ@mail.gmail.com> (raw)
In-Reply-To: <87ft2iyspy.fsf@gmail.com>

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

You can disable export of the TOC by setting the toc option to nil, with a
line like this at the top of the file:

#+options: toc:nil

See https://orgmode.org/manual/Table-of-Contents.html

--Diego


On Sat, Jan 30, 2021 at 11:21 PM Rodrigo Morales <
moralesrodrigo1100@gmail.com> wrote:

>
> 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.
>
> --
> Greetings,
> Rodrigo Morales.
>
>

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

  parent reply	other threads:[~2021-01-30 22:39 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
2021-01-30 22:38 ` Diego Zamboni [this message]
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='CAGY83Ec7bT5RGmVfvvUAy8U53Qc0YJZKGkkXwVYqX=8yqPjNqQ@mail.gmail.com' \
    --to=diego@zzamboni.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=moralesrodrigo1100@gmail.com \
    /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).