+ Handful of useful macros/functions that are used basically everywhere
! There's no real order to these as they are mostly miscellaneous
This commit is contained in:
1 parent
1c85c88f96
commit
43e3f93aad
1 file changed
+13
@@ -0,0 +1,13 @@
|
||||
#[macro_export]
|
||||
macro_rules! bold {
|
||||
($text:expr) => {
|
||||
Span::styled($text, Style::default().add_modifier(Modifier::BOLD))
|
||||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! normal {
|
||||
($text:expr) => {
|
||||
Span::raw($text)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user