Re: noweb and shell heredocs

2021-11-30 Thread Tom Gillespie
Hi Łukasz, One workaround that is fairly reliable is to prefix the names of the blocks to be nowebbed with an &. So #+name: block-name becomes #+name: Then you reference it as <<>> and the heredoc syntax is broken. Best, Tom

Re: noweb and shell heredocs

2021-11-30 Thread Dr. Arne Babenhauserheide
Immanuel Litzroth writes: > You can set the delimiters used for noweb code. > org-babel-noweb-wrap-end and org-babel-noweb-wrap-end. > > I think I set them to @@ in shell code. I almost always use {{{...}}} via a footer in my org-files: # Local Variables: # org-babel-noweb-wrap-start: "{{{" #

Re: noweb and shell heredocs

2021-11-25 Thread Immanuel Litzroth
You can set the delimiters used for noweb code. org-babel-noweb-wrap-end and org-babel-noweb-wrap-end. I think I set them to @@ in shell code. Immanuel On Thu, Nov 25, 2021 at 7:41 PM Łukasz Stelmach wrote: > > Hi, > > Is there anything I may try to stop shell syntax hihgliting in code > blocks

noweb and shell heredocs

2021-11-25 Thread Łukasz Stelmach
Hi, Is there anything I may try to stop shell syntax hihgliting in code blocks being fooled by noweb refs? -- Kind regards, Łukasz Stelmach signature.asc Description: PGP signature