Skip to content

Commit

Permalink
Improve message for asciidoc input error (#10492)
Browse files Browse the repository at this point in the history
Closes #8416.
  • Loading branch information
foursixnine authored Dec 23, 2024
1 parent f6b4245 commit af2b276
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 af2b276

Please sign in to comment.