Dear Eric,

Eric Schulte wrote:
> John Hendy <jw.he...@gmail.com> writes:
>> On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte <schulte.e...@gmail.com> wrote:
>>> John Hendy <jw.he...@gmail.com> writes:
>
> Use :wrap org if your code block produces raw org. E.g.,
>
>     #+begin_src sh :results output :wrap org
>     cat <<EOF
>     | a | b |
>     |---+---|
>     | 1 | 2 |
>     EOF
>     #+end_src
>
>     #+RESULTS:
>     #+BEGIN_org
>     | a | b |
>     |---+---|
>     | 1 | 2 |
>     #+END_org

Playing a bit with the above code, removing `:results output' to see what
would happen, I'm amazed by the results:

#+begin_src sh :wrap org
cat <<EOF
| a | b |
|---+---|
| 1 | 2 |
EOF
#+end_src

#+results:
#+BEGIN_org
|   |         | a |   |   | b |   |
|   | ---+--- |   |   |   |   |   |
|   |         | 1 |   |   | 2 |   |
#+END_org

Is it expected?

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to