Wrap heading text in anchor tag

This commit is contained in:
Francisco Moretti 2023-04-14 20:50:00 +01:00 committed by GitHub
parent 03ef292d26
commit 445d877b77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,7 @@ export default makeSource({
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
properties: {
className: ["subheading-anchor"],
ariaLabel: "Link to section",