1

I keep notes in orgmode and a GitHub repository can display formatted orgmode. I currently copy a headline to a new orgmode file to 'export' my text for publication on GitHub. However, this differs from exporting to other formats in at least two important aspects:

  1. The outermost headline is often a secondary headline in the 'export';
  2. The :(no)export: tags are not respected, and I need to trace them manually and edit the file.

Hence my question: is it possible to export orgmode to orgmode? I'm hoping for a solution not involving pandoc.

1 Answer 1

3

Yes, you can export to org. This is described in the org manual chapter on exporting. You will need to enable the org export backend, via M-x customize-variable org-export-backends. Tick the box for org and save your settings.

1
  • I feel like an idiot for missing that (and not all the others (well, except man and texinfo)). I added (require 'ox-org) to my init.el and it does exactly what I hoped for. Thanks for pointing this out!
    – AstroFloyd
    Commented Nov 25, 2021 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.