Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(subParsers): change name and directory of subparsers
BREAKING CHANGE: makeHtml subparsers names changed, by prepending 'makehtml.' to them. Example: 'anchors', subparser is now named 'makehtml.anchors'. Event names were also changed to reflect this. Example: 'anchors.before' is now named 'makehtml.anchors.before'. **To migrate:** If you have a listener extension, replace the old event name with the new one. Example: Replace this ```js showdown.extension('myext', function() { return [{ type: 'listener', listeners: { 'anchors.before': function (event, text, converter, options, globals) { //... some code return text; } }]; }); ``` with this ```js showdown.extension('myext', function() { return [{ type: 'listener', listeners: { 'makehtml.anchors.before': function (event, text, converter, options, globals) { //... some code return text; } }]; }); ```
- Loading branch information