I can't speak from experience here, but it seems that you can probably use lpeg (illustrated in the example in the docs) to process binary data. This is suggested by https://github.com/spc476/LPeg-Parsers. It would be fun to try! On Sat, 15 Jul 2023, 09:38 Trevor Jenkins, wrote: > > > On 13 Jul 2023, at 19:28, 'William Lupton' via pandoc-discuss < > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > I think you need to use a custom reader. Here's a link to the appropriate > bit of the appropriate page. > https://pandoc.org/custom-readers.html#bytestring-readers > > > Thanks. I had stumbled across that and caused me to post my original email. > > I wish there were a worked example of how to use that to process arbitrary > binary data. > > Regards, Trevor. > > <>< Re: deemed! > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/D9A14D6A-896B-4B36-BFF3-002AEFC083EB%40gmail.com > > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxi3WnRVJ0ry0bButBhWsdYov6XwgUJJ5TSmp-%3DFpGXpwA%40mail.gmail.com.