You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the anchor is always added before the heading text:
<!-- Currently --><h1><ahref="...">P</a>I am a header</h1><!-- What I would like to see --><h1>I am a header<ahref="...">P</a></h1>
This makes is easy to hide the anchor until mouse over and doesn't require shifting headings outside of their container to keep alignment on the left side (for LTR text). Ultimately it should probably just be an option.
Is this something you'd be willing to add? Otherwise I think this plugin is great!
The text was updated successfully, but these errors were encountered:
Initially, I put it before the heading because I wanted to mimic how GitHub renders anchors in Markdown files, but it indeed requires some styling to look decent.
I think putting the anchor after the header would be a more sensible default (and it would be consistent with how Python Markdown is doing with the permalink option). Having the anchor before the header should still be possible with an option.
Since this is a breaking change I'm releasing 2.0.0 with this feature.
Right now, the anchor is always added before the heading text:
This makes is easy to hide the anchor until mouse over and doesn't require shifting headings outside of their container to keep alignment on the left side (for LTR text). Ultimately it should probably just be an option.
Is this something you'd be willing to add? Otherwise I think this plugin is great!
The text was updated successfully, but these errors were encountered: