Skip to content

Add a callback option - #16

Merged
valeriangalliat merged 1 commit into
valeriangalliat:masterfrom
tschaub:callback
Feb 12, 2016
Merged

valeriangalliat merged 1 commit into
valeriangalliat:masterfrom
tschaub:callback

Conversation

@tschaub

@tschaub tschaub commented Feb 12, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Owner

Published as of 2.4.0!

@tschaub
tschaub deleted the callback branch February 12, 2016 21:19
@tschaub

tschaub commented Feb 12, 2016

Copy link
Copy Markdown
Contributor Author

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