'jupyter nbconvert' is able to produce colored  output in HTML and LaTeX from ipynb files with output colored and styled by ANSI escape sequences. I think  https://github.com/jupyter/nbconvert/blob/main/nbconvert/filters/ansi.py is the relevant code.  

Is it possible to implement this by a pandoc filter? If I understand https://github.com/jgm/pandoc/issues/5633 correctly,  those escape sequences are already missing in the AST presented to a filter. Would it be possible to have an option that keeps them? 

Many thanks for a great software and years of development and maintenance!
Meik

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/956e8385-8b5f-49de-a74a-cc62f84be526n%40googlegroups.com.