The org mode doesn't export header arguments or block name to html. In the following example, it would be confusing to read the exported html page if the passing of variable bar is not shown up. Is there any setting or customization to enable the html export of header arguments and block name (eg call-example) here?
#+name: call-example
#+begin_src emacs-lisp :var bar="baz" :exports both
(sit-for 1)
(message "bar=%S" bar)
#+end_src
#+RESULTS: call-example
: bar="baz"
It is possible to modify
org-babel-exp-code-templateto include the name and passed variable. From the documentation of the templateA first try looks like this:
For this small example file
The export to plain text ASCII looks like this:
In this manner only one variable passed is exported and displayed as cons-cell, that could be a deal breaker for you. Exports with other backends include the same information. I think it shouldn't be too hard to adapt this approach to reach a result that satisfies you.