asciicast
asciicast copied to clipboard
feat: New `cast()`, `capture_cast()` and `expect_snapshot_cast()`
Closes #61.
Real-world use case: https://github.com/patperry/r-utf8/pull/72/files#diff-37deacfbc7e0b33ac42e8972fc42ce2ef9221f43339ea72e28249c07083157cf
I wonder why the width measurements seem to be off here. Arguably, this is an edge case.
The work here could also be turned into a lighter-weight knitr engine. I wonder if there's value in showing the input too.
@gaborcsardi: What would need to happen to get this (or a variant) to CRAN? Asking for https://github.com/krlmlr/utf8/pull/72 .