Skip to content

Commit

Permalink
fix: expose extendMarkdownComponent hook
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Nov 21, 2018
1 parent 2a65bce commit f27b850
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PluginAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ export default class PluginAPI {
this.hooks.add('onContentUpdated', fn)
return this
}

extendMarkdownComponent(fn) {
this.hooks.add('extendMarkdownComponent', fn)
return this
}
}

0 comments on commit f27b850

Please sign in to comment.