[Top][All Lists]

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

Re: [Orgmode] org-exp-blocks: what about previewing blocks ?

From: Eric Schulte
Subject: Re: [Orgmode] org-exp-blocks: what about previewing blocks ?
Date: Thu, 27 Aug 2009 12:51:28 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin)

I don't have any plans to add previewing to org-exp-blocks, however
there is an alternative.

Org-babel provides for the evaluation and viewing of the results of
blocks in Org-mode documents.  As such, it is possible to use Org-babel
to preview the output of blocks.  For example, with Org-babel installed
[1] calling C-c C-c on the following block will evaluate the block
placing a link to the resulting file into the Org-mode document.
Subsequently calling C-c C-o with the point on the block will find the
link and open it previewing the image.

--8<---------------cut here---------------start------------->8---
#+begin_src ditaa :file images/blue.png :cmdline -r
| cBLU    |
|         |
|    +----+
|    |cPNK|
|    |    |
--8<---------------cut here---------------end--------------->8---

Hopefully in the near future Org-babel should be stable enough to
justify an initial release, which should include an instructional page
on worg.

Best -- Eric

[1]  http://eschulte.github.com/org-babel/#getting-started

reply via email to

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