diff options
| author | Ilona Silverwood <[email protected]> | 2022-10-14 07:47:05 -0700 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2023-01-18 17:24:00 +0100 |
| commit | 671cfcd86916518ead37c868c039638e53c1239a (patch) | |
| tree | 53e78d5701a6751ca7db4a9ce2fbdc8abfeae5b6 /doc/custom-readers.md | |
| parent | 86a7e34a8545e4c1e10f0b8578ea39179675be73 (diff) | |
doc/custom-reader.md: rewrite BytestringReader paragraph
Diffstat (limited to 'doc/custom-readers.md')
| -rw-r--r-- | doc/custom-readers.md | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/custom-readers.md b/doc/custom-readers.md index e0b6e4915..1004ca56c 100644 --- a/doc/custom-readers.md +++ b/doc/custom-readers.md @@ -78,13 +78,12 @@ ensuring backwards compatibility. # Bytestring readers -Pandoc expects text input to be UTF-8 encoded. However, formats -like docx, odt, epub, etc. are not text but binary formats. To -read them, pandoc supports `ByteStringReader` functions. These -functions work just like the `Reader` function that process text -input, but instead of a list of sources, `ByteStringReader` -functions are passed a bytestring, i.e., a string that contains -the binary input. +In order to read binary formats, including docx, odt, and epub, +pandoc supports the `ByteStringReader` function. A +`ByteStringReader` function is similar to the `Reader` function +that processes text input. Instead of a list of sources, the +ByteStringReader function is passed a bytestring, i.e., a string +that contains the binary input. ``` lua -- read input as epub |
