pub fn code_text(source: &str, language_name: &str) -> String
The text a CodeBlock shows and copies: CRLF → LF and, for ansi, every escape removed. Port of codeText.
ansi
codeText