-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for element ID generation #89
Comments
Subscribing! |
wow, had no idea that this was such a widely accepted issue. There are a dozen people coming up with different ways to solve this :/. Is this the central place to discuss this issue? And if so, what is the most stable feature branch for this? I'm looking to fork someone to get this feature in asap. I was making my own, based on #119 but it appears everyone seems to be doing that.. So yea, i should probably not add to the pile. |
Seems resolved. Closing. |
Github generates id's for each h1 element, which is super useful for sharing links. It would be great if marked allow id generation for each token lexer creates. I think it would be best if there was
marked.serialize
that takes output ofmarked.lexer
and also recognizedid
andclassName
attributes.The text was updated successfully, but these errors were encountered: