We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f0603 commit 360b188Copy full SHA for 360b188
cli/src/highlight.rs
@@ -230,6 +230,9 @@ fn parse_color(json: Value) -> Option<Color> {
230
fn style_to_css(style: ansi_term::Style) -> String {
231
use std::fmt::Write;
232
let mut result = "style='".to_string();
233
+ if style.is_underline {
234
+ write!(&mut result, "text-decoration: underline;").unwrap();
235
+ }
236
if style.is_bold {
237
write!(&mut result, "font-weight: bold;").unwrap();
238
}
0 commit comments