rustc_driver_impl

Function show_md_content_with_pager

source
pub(crate) fn show_md_content_with_pager(content: &str, color: ColorConfig)
Expand description

If color is always or auto, print formatted & colorized markdown. If color is never or if formatted printing fails, print the raw text.

Prefers a pager, falls back standard print