mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
3db9200d2c
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; } }]; }); ``` |
||
---|---|---|
.. | ||
showdown.js | ||
showdown.js.map | ||
showdown.min.js | ||
showdown.min.js.map |