How did you add linked headers to section header? #2350
Answered
by
wooorm
serhii-bilyk-intellias
asked this question in
Q&A
-
When I am using this syntax: # Any section Any section header is created without ID and link. <h1>Any section </h1> And I want smth like that: <h1 id="batman"><a href="#batman">Any section</a></h1> |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Sep 15, 2023
Replies: 1 comment 10 replies
-
https://github.com/rehypejs/rehype-autolink-headings |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/rehypejs/rehype-autolink-headings