From 93eb38471f6a992df68bbc75a19d4703bf3f64a2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 2 May 2022 19:55:19 +0100 Subject: Add markdown deprecation notice to convertToMarkdown docs --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 7772ff1..ad7ad69 100644 --- a/README.md +++ b/README.md @@ -381,6 +381,10 @@ Converts the source document to HTML. #### `mammoth.convertToMarkdown(input, options)` +Markdown support is deprecated. +Generating HTML and using a separate library to convert the HTML to Markdown is recommended, +and is likely to produce better results. + Converts the source document to Markdown. This behaves the same as `convertToHtml`, except that the `value` property of the result contains Markdown rather than HTML. -- cgit v1.2.3