Skip to content

Commit feef516

Browse files
makishvili3y3
authored andcommitted
feat(anchors): Add anchors to headings in table
1 parent 6611151 commit feef516

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/scss/_anchor.scss

+10
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,14 @@
2020
visibility: visible;
2121
}
2222
}
23+
24+
table {
25+
h1, h2, h3, h4, h5, h6 {
26+
.yfm-anchor {
27+
width: 1em;
28+
margin-left: -1em;
29+
padding-right: 0;
30+
}
31+
}
32+
};
2333
}

0 commit comments

Comments
 (0)