Axel,

In the processing rules of the AsciiDoc syntax, that will not work in the
way you expect it to. The "last wins" rule applies here, which means that
the "id2" will replace "id1" on the block...since a section element may
only have one id. However, you can get creative and any number of inline
anchors directly inside the title.

[[id1]]
== [[id2]][[id3]]Heading with two IDs? ==

Technically the semantics are different, but it accomplishes the same goal
of creating multiple link anchor in the same spot in the document.

-Dan


On Mon, Aug 19, 2013 at 3:55 PM, Axel Rauschmayer <[email protected]>wrote:

> Is it possible to assign multiple BlockIds to the same block element?
>
> For example: I tried the following, but it didn’t work.
>
> [[id1]]
> [[id2]]
> == Heading with two IDs? ==
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Dan Allen | http://google.com/profiles/dan.j.allen

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to