emacs-orgmode
[Top][All Lists]
Advanced

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

Re: How to export to markdown programmatically without the table of cont


From: Max Nikulin
Subject: Re: How to export to markdown programmatically without the table of contents?
Date: Sat, 7 May 2022 15:16:43 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

On 02/05/2022 23:52, Marcin Borkowski wrote:
On 2022-05-01, at 22:01, Berry, Charles wrote:
On May 1, 2022, at 2:20 AM, Marcin Borkowski wrote:

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?

It does seem odd that BODY-ONLY as `t' gives a toc. With latex it does not 
regardless of `:with-toc'.

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

Thanks!

http://mbork.pl/2021-05-02_Org-mode_to_Markdown_via_the_clipboard

The following links posted earlier to this mail list might be interesting for you since they are related to "exporting" of org text to other applications:

https://github.com/tecosaur/emacs-everywhere
System-wide popup Emacs windows for quick edits

https://github.com/jkitchin/ox-clip/
Copy formatted content from org-mode

The latter copies HTML, not markdown though.





reply via email to

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