anchors correspond to headline depth

master
Tomáš Mládek 2021-04-22 18:20:04 +02:00
parent ee005cb4e2
commit fe8046cf58
1 changed files with 17 additions and 0 deletions

View File

@ -58,6 +58,23 @@ li p {
.anchor:after {
content: "#";
margin-right: .15em;
font-size: 80%;
}
h2 .anchor:after {
content: "##";
}
h3 .anchor:after {
content: "###";
}
h4 .anchor:after {
content: "####";
}
h5 .anchor:after {
content: "#####";
}
.anchor:visited {