unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to export to markdown programmatically without the table of contents?
@ 2022-05-01  7:12 Marcin Borkowski
  2022-05-01  9:19 ` Marcin Borkowski
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2022-05-01  7:12 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi fellow Orgers,

I'd like to export a Org-mode formatted string to markdown, but without
the table of contents.

(org-export-string-as my-string 'md t '(toc nil))

didn't work (the ToC was still there).  What am I missing?

TIA,

-- 
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to export to markdown programmatically without the table of contents?
  2022-05-01  7:12 How to export to markdown programmatically without the table of contents? Marcin Borkowski
@ 2022-05-01  9:19 ` Marcin Borkowski
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Borkowski @ 2022-05-01  9:19 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Sorry, wrong list. Please don't answer here, I'll resend to the Org-mode list.

On 2022-05-01, at 09:12, Marcin Borkowski <mbork@mbork.pl> wrote:

> Hi fellow Orgers,
>
> I'd like to export a Org-mode formatted string to markdown, but without
> the table of contents.
>
> (org-export-string-as my-string 'md t '(toc nil))
>
> didn't work (the ToC was still there).  What am I missing?
>
> TIA,


-- 
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-01  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-01  7:12 How to export to markdown programmatically without the table of contents? Marcin Borkowski
2022-05-01  9:19 ` Marcin Borkowski

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).