[ 
https://issues.apache.org/jira/browse/DOXIA-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708733#comment-17708733
 ] 

Slawomir Jaranowski commented on DOXIA-696:
-------------------------------------------

I see also that anchorjs try to find {{id}} attribute on heads tags - so when 
we add id anchorjs will us it.
https://github.com/bryanbraun/anchorjs/blob/7820d5f6a6d41eb92000ab9c22b9362262a6b8a8/anchor.js#L85


> Inconsistent anchors between toc macro and headers
> --------------------------------------------------
>
>                 Key: DOXIA-696
>                 URL: https://issues.apache.org/jira/browse/DOXIA-696
>             Project: Maven Doxia
>          Issue Type: Bug
>            Reporter: Slawomir Jaranowski
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: wontfix-candidate
>
>
> In markdown document add:
> {code:java}
> <!-- MACRO{toc|fromDepth=2} -->
> {code}
> Then anchors generated by toc macro looks like: {{#Your_First_Mojo}}
> and anchors generated by skin looks like: {{#your-first-plugin}}
> - Doxia Site Renderer 2.0.0-M4
> - Fluido Skin 1.11.1
> Tested on Maven main site without more investigate.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to