From 13d590344d8bfca2436d27272a131f01edec5af1 Mon Sep 17 00:00:00 2001 From: Santiago Zarate Date: Mon, 23 Dec 2024 15:10:42 +0100 Subject: [PATCH] Improve message for asciidoc input error #8416 --- src/Text/Pandoc/Error.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Text/Pandoc/Error.hs b/src/Text/Pandoc/Error.hs index 373871ceba6b..7a1f12c79f34 100644 --- a/src/Text/Pandoc/Error.hs +++ b/src/Text/Pandoc/Error.hs @@ -124,6 +124,7 @@ renderError e = "\nTry using Word to save your DOC file as DOCX," <> " and convert that with pandoc." "pdf" -> "\nPandoc can convert to PDF, but not from PDF." + "asciidoc" -> "\nPandoc can convert to asciidoc, but not from asciidoc." <> _ -> "" PandocUnknownWriterError w -> "Unknown output format " <> w <>