diff --git a/types/showdown/index.d.ts b/types/showdown/index.d.ts index 6e2b86cccc..1e3cff5774 100644 --- a/types/showdown/index.d.ts +++ b/types/showdown/index.d.ts @@ -294,6 +294,14 @@ declare namespace Showdown { */ makeHtml(text: string): string; + /** + * Converts an HTML string into a markdown string + * + * @param src + * @returns {string} + */ + makeMarkdown(src: string): string; + /** * Setting a "local" option only affects the specified Converter object. *