Skip to content

Commit

Permalink
Improve message for asciidoc input error #8416
Browse files Browse the repository at this point in the history
  • Loading branch information
foursixnine committed Dec 23, 2024
1 parent 26ad26b commit 13d5903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Text/Pandoc/Error.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <>
Expand Down

0 comments on commit 13d5903

Please sign in to comment.