When writing a literate program in Org mode, export is similar to weaving in earlier literate programming tools such as cweb or noweb. These tools would add the name of the code block to the woven (exported) output. In Org mode, it will look something like this:
Org file:
#+NAME: mycodeblock
#+BEGIN_SRC language
[Source code here]
#+END_SRC
Exported output:
<mycodeblock>=
[Source code here]
I am wondering if there is support in Org mode for exporting code block names in this style. If not, is there any way to at least print the name of the code block as a shortcut of some type?
I saw tips that code block names can be exported, but I could not find the exact syntax.
source
share