8d46d113e155docs/src/components/Link.jsx+1 -0@@ -14,6 +14,7 @@export default function Link({ name, children }) {
| 14 | 14 | {children} | |
| 15 | 15 | <a | |
| 16 | 16 | href={`#${name}`} | |
| 17 | + | data-toc | |
| 17 | 18 | className="text-2xl ml-2 [h4+&]:text-lg [h4+&]:ml-1 [h3+&]:text-lg [h3+&]:ml-1 transition-opacity duration-200 opacity-0 group-hover:opacity-100" | |
| 18 | 19 | onClick={(e) => { | |
| 19 | 20 | e.preventDefault(); |
docs/src/components/TableOfContents.jsx+1 -1