codeguy / php-the-right-way

An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web
https://www.phptherightway.com
Other
9.03k stars 3.25k forks source link

Anchor on each title #998

Open samuelgfeller opened 7 months ago

samuelgfeller commented 7 months ago

756 was closed without a word, and I'm puzzled as to why.

I would like to reference different sections of phptherightway.com in my documentations (and had done it in the past) but it no longer seems to work for h3 titles. https://phptherightway.com/#ErrorException does not jump to the right section, even though that's the correct id of the title. It only works for h1 and h2 titles.

I find a little anchor icon on the left or right side to copy the title, the most intuitive solution.

GitHub: image

Symfony docs image

Read the Docs image