0

How can I keep the CLRF when reference example block from bash babel?

#+NAME: text
#+BEGIN_EXAMPLE
hello
world
#+END_EXAMPLE

#+BEGIN_SRC sh :results output :var text=text
echo $text
#+END_SRC

I wish this sample output:

hello
world

But actual output as below(CLRF missing):

hello world

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.