Closed gavinhenderson closed 5 years ago
Actually can I add a bit of feature creep? :) Can we have a perma link just after the category text. Like these in WCAG but not right justified?
There is also a tooltip in those which might help people understand.
<span class="permalink">
<a href="#later-versions-of-accessibility-guidelines" aria-label="Permalink for 0.6 Later Versions of Accessibility Guidelines" title="Permalink for 0.6 Later Versions of Accessibility Guidelines">
<span>§</span>
</a>
</span>
@SteveALee Thanks for the feedback! It felt a bit dodgy when I wrote it so glad you held me accountable to my dodgy code. I am no longer mutating it in place as you suggested. Does my commit solve your concerns?
Perfect!
Do you fancy doing the permalink as well? Or I'm happy to just merge this and make that another issue.
@SteveALee Makes sense just to do it in this PR. Thats the permalink added, whats your thoughts on the styling?
Minor comments -
PS the link is also appears in the PDF but that's as mkcategories is shared. Really not a problem - just observation. :) Refactor would be expensive
Changes made :+1:
Yeah it would be either an expensive refactor or a really bad fix if it was done quick. At least links definitely work when exported to PDF so the contents page will work on the PDF which is a bonus
@gavinhenderson Looks great! Thanks for updating the built files too.
Added anchor tags to the html so you can now link to things by doing #category-here
Addressing #28