yisraelx
498c398948
[showdown] fix and reorder definitions, add and fix docs (#35104)
* docs(ShowdownOptions): add and fix
* fix(ShowdownOptions): add missing props
* `encodeEmails`
* `rawPrefixHeaderId `
* `rawHeaderId`
* fix(ShowdownOptions): Mark `excludeTrailingPunctuationFromURLs` as deprecated
It now default behavior:
d3ebff7ef0
* chore(Converter): order the method by the code order
https://github.com/showdownjs/showdown/blob/master/src/converter.js
* fix(Converter): add missing method `getFlavor`
* feat: add `Flavor` type for flavor names
* docs(Converter): fix and add
* chore(Showdown): order the mthods by the code order
https://github.com/showdownjs/showdown/blob/master/src/showdown.js
* fix(Showdown): Remove duplicate method definitions
* `getOption`
* `getOptions`
* `getDefaultOptions`
* `extension`
* `resetExtensions`
* fix(Showdown): add missing methods
* `getFlavor`
* `getFlavorOptions`
* `subParser`
* `validateExtension`
* fix(Showdown): fix incorrect definitions and order
* `setOption` - fix incorrect returns signature
* `getDefaultOptions` - fix incorrect args and returns signature
* `extension` - fix incorrect args and returns signature
* `ShowdownOptions` - support for custom options.
* `ShowdownOptionsSchema` - new interface to describe showdown options schema(`getDefaultOptions` method)
* `ShowdownExtensions` - new interface to describe showdown extensions store.
* `SubParser` - new type to describe showdown SubParser (`subParser` method)
* docs(Showdown): fix and add
* fix(ConverterOptions): incorrect property type of `extensions`
* fix: incorrect arg (`extension`) type of several method signatures
* test: fix and add
* fix(ShowdownExtension): add missing support of event listener
* add missing property 'listeners' type `Extension` (for listener extension and mixing)
* add new interface to describe showdown event listener function.
* fix(Converter): add missing `listen` method