Ah, thank you! I totally misunderstood the meaning of `--ipynb-output`. So I can start playing around with a lua filter. I want to use this filter with Quarto. Then I will need the original meaning/effect of `ipynb-output=best`, too. Rewrite your ` filterIpynbOutput` function in Lua? Best regards, Meik fiddlosopher schrieb am Dienstag, 20. September 2022 um 20:01:46 UTC+2: > The ANSI escapes are stripped out of the code block unless the output > format is ipynb OR `--ipynb-output=all` is used. > So, if you use that command-line option, you could write a filter that > does something with the ANSI escapes. > > -- 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/5f877bed-697b-481c-9604-c5d69168eda9n%40googlegroups.com.