Hello,
considering the following example:
--------------------------------------
#+NAME: test_fun
#+BEGIN_SRC js
function test_fun() {
}
#+END_SRC
Link to [[test_fun]]
#+NAME: another_test_fun
#+BEGIN_SRC js
function another_test_fun() {
}
#+END_SRC
Link to [[another_test_fun]]
-----------------------------------------
the exported html code creates to <a> tags, like this:
------------------------------------
Link to <a href="#orgsrcblock1">1</a>
------------------------------------
and this:
------------------------------------
Link to <a href="#orgsrcblock2">1</a>
------------------------------------
Is that behavior desired?
I would expect the link text to actually spell "test_fun" and
"another_test_fun" in this case, since those are the names of the
source blocks.
As a workaround, is there anywhere in the exporter that I could hook
into to change the link text myself?
(org version 8.3.4)
Regads,
timor