Hi,
This isn't the first request for customizable comments in tangled code.
I've just implemented a first pass at this functionality, the variables
org-babel-tangle-comment-format-beg and
org-babel-tangle-comment-format-end now hold simple format string
specifying how the comments surrounding code
Yes I am aware of the comments argument but it is not what I was
referring to. What I want is, if I had the following in a file called
"Haskell.org" :
* Root
Root comment
#+begin_src haskell :tangle Main.hs
test = length
main = print $ test [1,2,3]
#+end_src
I would like the following output i
Hi,
You can use the :comments header argument to include comments around
tangled code blocks indicating where the code block lives in the
original Org file.
See [1] for information on the :comment header argument, and see [2] for
information on using header arguments in general.
Best -- Eric
ad