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