[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] HTML Export of Links to Source Blocks seems broken
From: |
timor |
Subject: |
[O] HTML Export of Links to Source Blocks seems broken |
Date: |
Thu, 16 Jun 2016 12:18:28 +0200 |
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
- [O] HTML Export of Links to Source Blocks seems broken,
timor <=
- Re: [O] HTML Export of Links to Source Blocks seems broken, Nicolas Goaziou, 2016/06/17
- Re: [O] HTML Export of Links to Source Blocks seems broken, timor, 2016/06/17
- Re: [O] HTML Export of Links to Source Blocks seems broken, Nicolas Goaziou, 2016/06/17
- Re: [O] HTML Export of Links to Source Blocks seems broken, timor, 2016/06/20
- Re: [O] HTML Export of Links to Source Blocks seems broken, Nicolas Goaziou, 2016/06/20
- Re: [O] HTML Export of Links to Source Blocks seems broken, timor, 2016/06/20
- Re: [O] HTML Export of Links to Source Blocks seems broken, Nicolas Goaziou, 2016/06/20