5

I have an org file:

#+TITLE: Hello!

Hello world!

I can perform a "body-only" export of this file to html by issuing C-c C-e C-b h h. Here, the C-b keystroke toggles the "body-only" variable from Off to On.

Is it possible to set the default value of "body-only" for my org file to On? It seems that something like

#+TITLE: Hello!
#+OPTIONS: body-only:t

Hello world!

should work.

  • 2
    It does seem like this should be possible, but from browsing the source (ox.html) it seems like body-only and visible-only are handled separately from other org options, and I can't see an obvious way to make this work. – amitp Jan 8 '18 at 19:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.