Using pygmentize as a filter

Issue #1447 new
Josef Hák
created an issue

Hi, I would like to use pygmentize command as a filter.

my-app | pygmentize -l json

But it seems not to be possible currently. Probably it's waiting for EOF and then it writes all content highlighted to stdout.

Is it possible to do it?

Thanks for handy tool.

Comments (0)

  1. Log in to comment