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: &block-name. Then you reference it as
<<&block-name>> and the heredoc syntax is broken. Best,
Tom
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: "{{{"
#
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
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