Improve message for asciidoc input error (#10492)

Closes #8416.
This commit is contained in:
Santiago Zarate
2024-12-23 12:34:08 -08:00
committed by GitHub
parent f6b42450f9
commit af2b276afe
+1
View File
@@ -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 <>