Skip to content
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 a callback option #16

Merged
merged 1 commit into from
Feb 12, 2016
Merged

Conversation

tschaub
Copy link
Contributor

@tschaub tschaub commented Feb 12, 2016

This adds a callback option that can be provided to get information about the modified heading tokens. The callback is called with token and info arguments. The info object has title and slug properties as generated by the plugin.

Fixes #15.

@tschaub tschaub mentioned this pull request Feb 12, 2016
@valeriangalliat
Copy link
Owner

Good stuff 👍 thank you!

valeriangalliat added a commit that referenced this pull request Feb 12, 2016
@valeriangalliat valeriangalliat merged commit 47a652d into valeriangalliat:master Feb 12, 2016
@valeriangalliat
Copy link
Owner

Published as of 2.4.0!

@tschaub tschaub deleted the callback branch February 12, 2016 21:19
@tschaub
Copy link
Contributor Author

tschaub commented Feb 12, 2016

Thanks for the quick turnaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants