feat: use CSS pseudo-element to display # symbol of heading anchor

This prevents RSS feed readers and screen readers from seeing an extra `#`.
This commit is contained in:
Jimmy Cai 2024-05-02 23:23:10 +02:00
parent bdf2a710d3
commit 7b71e34ac3

View File

@ -232,6 +232,10 @@
width: var(--card-padding);
text-align: center;
color: var(--accent-color);
&:before {
content: "#";
}
}
&:hover,