asciidoctor - How can I add mutiple anchors to the same block? -


i'm using asciidoctor create html manual. in order keep existing links valid, need multiple anchors @ same header.

basically want output:

<a id="historic1"></a> <a id="historic2"></a> <h2 id="current">caption</h2> 

while possible create multiple inline anchors this

inline [[historic1]] [[historic2]] [[current]] anchor 
inline <a id="historic1"></a> <a id="historic2"></a> <a id="current"></a> anchor 

it looks additional anchor macros in front of blocks swallowed:

[[historic1]] [[historic2]] [[current]] == caption 
<h2 id="current">caption</h2> 

so options have multiple anchors in front of block?

you can use shorthand version of solution.

[#current] == [[historic1]][[historic2]]caption 

now 3 anchors on same heading.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -