zimbatm / mdsh

`$ mdsh` # a markdown shell pre-processor
https://zimbatm.github.io/mdsh/
MIT License
123 stars 11 forks source link

handle ansi escape sequences #20

Closed gilligan closed 5 years ago

gilligan commented 5 years ago

I just tried to use mdsh on a command that outputs some color and that currently has the undesired effect of yielding the escape codes verbatim in the output:

[please]: Running sanity checks:

- Nix installed :  OK
- contrail channel: OK
- contrail cache: OK
- kvm support: OK

All essential tests passed.

It would be great if there could be an option to filter those.

zimbatm commented 5 years ago

good idea