Skip to content

Commit

Permalink
feat(anchors): Add anchors to headings in table
Browse files Browse the repository at this point in the history
  • Loading branch information
makishvili authored and 3y3 committed Jul 24, 2023
1 parent 6611151 commit feef516
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/scss/_anchor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,14 @@
visibility: visible;
}
}

table {
h1, h2, h3, h4, h5, h6 {
.yfm-anchor {
width: 1em;
margin-left: -1em;
padding-right: 0;
}
}
};
}

0 comments on commit feef516

Please sign in to comment.