mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
Wrap heading text in anchor tag
This commit is contained in:
parent
03ef292d26
commit
445d877b77
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ export default makeSource({
|
|||
[
|
||||
rehypeAutolinkHeadings,
|
||||
{
|
||||
behavior: "wrap",
|
||||
properties: {
|
||||
className: ["subheading-anchor"],
|
||||
ariaLabel: "Link to section",
|
||||
|
|
|
|||
Loading…
Reference in a new issue