From a32c2c909940b0f105d8094f44afaf18de482002 Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Tue, 11 Dec 2018 10:56:23 -0600 Subject: [PATCH] Adds makeMarkdown --- types/showdown/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) 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. *