Kieran Healy <kjhe...@gmail.com> writes:

> Hi, 
>
> I have org-babel set up to use minted to format code blocks and it's
> terrific. I was wondering whether I could also get it to wrap the
> results it outputs using minted instead of verbatim environments (it
> seems not right now) when I noticed the following strange
> behavior. Here's a minimal example. This org file exports to latex as
> expected, with the src block in a minted environment and the results
> block as a verbatim environment: (As I say, wanting the results block
> wrapped by minted was what prompted this issue ...)
>

Hi Kieran,

This may be possible through the use of the ":results src" header
argument e.g., the following minimal code block

#+begin_src R :results code
  8
#+end_src

evaluates to the following

#+results:
#+BEGIN_SRC R
8
#+END_SRC

which should be exported using minted.

Hope this helps -- Eric

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to