(&self, code_buffer: &str, code_language: &str, output: &mut String)
| 470 | } |
| 471 | |
| 472 | fn finish_code_block(&self, code_buffer: &str, code_language: &str, output: &mut String) { |
| 473 | output.push_str(&self.highlight_code(code_buffer, code_language)); |
| 474 | let _ = write!( |
| 475 | output, |
| 476 | "{}", |
| 477 | "╰─".bold().with(self.color_theme.code_block_border) |
| 478 | ); |
| 479 | output.push_str("\n\n"); |
| 480 | } |
| 481 | |
| 482 | fn push_text( |
| 483 | &self, |
no test coverage detected