[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can you automatically noweb include?

From: George Mauer
Subject: Can you automatically noweb include?
Date: Wed, 5 Aug 2020 16:21:41 -0500

Use case:

I'm using ob-racket but this would apply just as well to a few other workflows I have with python or js.

I would like to write a helper function in a src block and then automatically have access to it in other src blocks further down the document. I don't really want a stateful session (nor does ob-racket support sessions) so I essentially want the equivalent of automatically including it everywhere so I don't have to type it out all the time (and have it screw up syntax coloring/indentation).

Is this currently possible? Does anyone have any ideas for how to extend things so it is?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]