Hi Neilen, Neilen Marais wrote: > Is it possible to caption a #+begin_src or #+begin_example block? Doing > > #+CAPTION: dipole_analytical_balanis.mac > #+begin_example > .... > #+end_example > > doesn't seem to do the trick. I would find this useful to include > suggested filenames when quoting source on a web page.
Would such block be better for you? --8<---------------cut here---------------start------------->8--- #+srcname: dipole_analytical_balanis.mac #+begin_src mac .... #+end_src --8<---------------cut here---------------end--------------->8--- The source name should be exported in HTML. If not, this is a feature.[1] Best regards, Seb Footnotes: [1] I know for sure it does when the block has "grounded" parameters (ie, with a given value). -- Sébastien Vauban