Closed kaaveland closed 6 months ago
https://docs.rs/termimad/latest/termimad/ seems pretty close to what we want.
Another good candidate is https://docs.rs/pulldown-cmark-mdcat/2.1.2/pulldown_cmark_mdcat/index.html -- which exposes a pulldown-cmark-mdcat
crate. It seems to perhaps not support tables in markdown, but we could consider removing those and rendering that differently anyway.
Since we've added handlebars, I'm tempted to just not do this, and instead make a nice and terse output template for plain.
I'm certain there's some markdown tools we can use to just render the markdown report nicely for a terminal window. I've been using an executable named glow, which makes very nice output, then there's libraries like https://kristaps.bsd.lv/lowdown/ -- ideally we'd find something on crates.io that does the job.