#StackBounty: #org-mode #org-babel #bash #noweb Noweb references in sh blocks breaks the syntax highlighting

Bounty: 50

I use noweb references inside sh code blocks, for example:

#+begin_src sh
  echo "test"
  <<some-ref>>
  echo "test"
#+end_src

But this causes syntax highlighting to be broken because << gets interpreted as here document by the sh syntax highlighter and rest of the document (line 3 for the example above) becomes non-highlighted.

How can I fix this?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.