emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Possible to use src block to generate org headlines for export?


From: Matt Lundin
Subject: Re: [O] Possible to use src block to generate org headlines for export?
Date: Wed, 23 Jul 2014 12:07:34 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)

Charles Berry <address@hidden> writes:

> Matt Lundin <mdl <at> imapmail.org> writes:
>
> Or wrap the results in a drawer when you type C-c C-c, but render them as 
> raw on export (which removes the drawer and replaces with raw results).
>
> Like so:
>
> #+header: :results (if (boundp 'backend) "raw" "drawer") 
> #+BEGIN_SRC emacs-lisp :exports both 
>
> (format "* headline\n1\n2\n5\n")
> #+END_SRC

Thanks so much! I'm clipping this for reference. This is very helpful
when one wants to preview the results in the buffer.

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]