On 2022-05-07, at 10:16, Max Nikulin wrote:
> 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
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))
* Jeremie Juste wrote:
> Hello Karl,
Hi Jeremie,
> On Tuesday, 3 May 2022 at 11:15, Karl Voit wrote:
>>
>> I tried this neat code snippet today with Emacs 26.3 and Org-mode
>> 9.1.9 and I got an error:
>>
>> | org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export
>>
>>
Karl Voit writes:
> Could it be that I don't have "md" as backend somehow? Is there a
> hidden requirement?
The variable `org-export-backends` default value is
'(ascii html icalendar latex odt)
so you need to add 'md.
--
Daniel Fleischer
Hello Karl,
On Tuesday, 3 May 2022 at 11:15, Karl Voit wrote:
>
> I tried this neat code snippet today with Emacs 26.3 and Org-mode
> 9.1.9 and I got an error:
>
> | org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export
>
> When I execute the following code, I get the same
Hi,
* 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
On 2022-05-01, at 22:01, Berry, Charles wrote:
>> On May 1, 2022, at 2:20 AM, Marcin Borkowski 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))
>>
Jeremie Juste [2022-05-01 Sun 22:29] wrote:
> I know where to look now:
>
> (info "(org) Publishing options")
That's a good resource!
Hello Chuck,
> On Sunday, 1 May 2022 at 20:01, Berry, Charles wrote:
> 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))
>
> seems to give what you want.
Many thanks for the
> On May 1, 2022, at 2:20 AM, Marcin Borkowski 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
Hello Marcin,
On Sunday, 1 May 2022 at 11:20, Marcin Borkowski wrote:
| Optional argument EXT-PLIST, when provided, is a property list
| with external parameters overriding Org default settings, but
| still inferior to file-local settings.
Sorry I don't fully understand what doc means by
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
12 matches
Mail list logo