Skip to content

Commit

Permalink
Add underline to deck titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffo99 committed Oct 18, 2022
1 parent 0b43847 commit d87e19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub fn display_deck(index: &CardIndex, deck: &Deck, code: &str, name: &Option<&s
.join("\n");

match name {
Some(name) => format!("<b>{}</b>\n<code>{}</code>\n\n{}", &name, &code, &cards),
Some(name) => format!("<b><u>{}</u></b>\n<code>{}</code>\n\n{}", &name, &code, &cards),
None => format!("<code>{}</code>\n\n{}", &code, &cards),
}
}

0 comments on commit d87e19d

Please sign in to comment.