On my Mac, both Ctrl-C and Ctrl-D exit. (But command-line editing doesn't seem to work for me. It does work in the isocline example running in the same terminal window. I could create an issue for this?) On Tue, 28 Mar 2023 at 14:52, BPJ wrote: > How do you exit this new Lua REPL? Neither ^D nor os.exit() works. > > Den tis 28 mars 2023 02:06John MacFarlane skrev: > >> I'm pleased to announce the release of pandoc 3.1.2, >> available in the usual places: >> >> Binary packages & changelog: >> https://github.com/jgm/pandoc/releases/tag/3.1.2 >> >> Source & API documentation: >> http://hackage.haskell.org/package/pandoc-3.1.2 >> >> Some exciting new features in this release: >> >> - Support for output in Typst, a new TeX alternative >> with incremental compilation and many nice features >> (https://typst.app). >> >> - typst is also supported as a --pdf-engine. >> >> - 'pandoc lua -i' can be used to open a Lua REPL >> with the pandoc environment preloaded. You can also instruct >> a filter to open a REPL at a certain point, using 'pandoc.cli.repl'. >> This should make it much easier to debug Lua filters. >> >> - We now provide macOS binary releases compiled for Apple silicon. >> >> Thanks to all who contributed, especially Albert Krewinkel >> for his work on the Lua subsystem, and new contributors >> Amy de Buitléir, Andres Freund, Christian Christiansen, and >> Martín Pozo. >> >> -- >> 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/E861BA57-7C89-4012-8A04-77D9DF190281%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/CADAJKhCR4F6YAteNDsmo0GQ5JYYyDyYhxJqX95YppNiNQnqYAQ%40mail.gmail.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_xxh%3DJGBH9JRdddp-hmCZTQZAqiYX4vmNXO_uVXZewJm7Yw%40mail.gmail.com.