Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This trick is particularly useful for rendering things that have somewhat of a hieriarchy, but aren't implicitly hieriarcial. Like a table of contents for a HTML page, targeting the various header (h1-h6) elements. They're not (generally) descendents of each other, and parsing them is simpler to just go as a list of items with a depth.
I used this for the table of contents on my personal site: https://github.com/paradox460/pdx.su/blob/main/lib/toc.ex
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.