I want to print org files or share them with in emails. Clean view looks good for these purposes.
Is it possible to export org files so that the output text file looks exactly like clean view (of course without theme colors)?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
This gets pretty close I think although I haven't tested extensively:
# -*- org-ascii-headline-spacing:(0 . 0); org-ascii-bullets:((ascii 42) (latin1 167) (utf-8 8226)) -*- #+OPTIONS: H:0 num:nil toc:nil @:t author:nil #+TITLE: * foo ** bar ** zim *** gir *** dib
* foo * bar * zim * gir * dib
If you do a UTF-8 export it'll use • instead of asterisk. If you prefer you can set those file-local variables on the first line as global using
M-x customize-group RET org-export-ascii RET