I often add #Content of sample.script as top line in my org-babel scripts. Thus the reader knows the name of the tangled file:

#+begin_src sh :tangle sample.script
#Content of sample.script
echo helloWorld

What do I need to do in order to automatically add the tangled filename as comment on exporting to e.g. markdown?

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.