From: Jeremie Juste <jeremiejuste@gmail.com>
To: Karl Voit <devnull@Karl-Voit.at>
Cc: emacs-orgmode@gnu.org, Karl Voit <news2042@Karl-Voit.at>
Subject: Re: How to export to markdown programmatically without the table of contents?
Date: Tue, 03 May 2022 23:02:56 +0200 [thread overview]
Message-ID: <87fslq72in.fsf@gmail.com> (raw)
In-Reply-To: <2022-05-03T11-09-34@devnull.Karl-Voit.at> (Karl Voit's message of "Tue, 3 May 2022 11:15:04 +0200")
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 error:
> | (setq region "/foo/ *bar* https://example.com baz")
> | (org-export-string-as region 'md t '(:with-toc nil))
>
> Could it be that I don't have "md" as backend somehow? Is there a
> hidden requirement?
with
$ emacs -Q -L ./lisp -l org /tmp/test.org
then C-c C-e, I don't have markdown in the default export options.
tested with, Org mode version 9.5.3 (release_9.5.3-467-g2bd34e @
/home/djj/src/org-mode/lisp/).
And I still work with (require 'ox-md).
Best regards,
Jeremie
next prev parent reply other threads:[~2022-05-03 23:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-01 9:20 How to export to markdown programmatically without the table of contents? Marcin Borkowski
2022-05-01 19:59 ` Jeremie Juste
2022-05-01 20:01 ` Berry, Charles
2022-05-01 20:29 ` Jeremie Juste
2022-05-02 6:06 ` Daniel Fleischer
2022-05-02 16:52 ` Marcin Borkowski
2022-05-03 9:15 ` Karl Voit
2022-05-03 21:02 ` Jeremie Juste [this message]
2022-05-04 11:45 ` Karl Voit
2022-05-04 4:13 ` Daniel Fleischer
2022-05-07 8:16 ` Max Nikulin
2022-05-08 6:24 ` Marcin Borkowski
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=87fslq72in.fsf@gmail.com \
--to=jeremiejuste@gmail.com \
--cc=devnull@Karl-Voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news2042@Karl-Voit.at \
/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).