Skip to content

Commit 62a7d49

Browse files
Mice7RMaxVerevkin
andauthored
Fix small issues in doc
Co-authored-by: Max Verevkin <[email protected]>
1 parent 7e74be2 commit 62a7d49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blocks/timewarrior.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! Key | Values | Default
88
//! ----|--------|--------
99
//! `interval` | Update interval in seconds | `30`
10-
//! `format` | A string to customise the output of the block. See placeholders. | `" $icon {$elapsed\|}"`
10+
//! `format` | A string to customise the output of the block. See placeholders. | <code>" $icon {$elapsed &vert;}"</code>
1111
//! `info` | The threshold of minutes the task turns into a info state | -
1212
//! `good` | The threshold of minutes the task turns into a good state | -
1313
//! `warning` | The threshold of minutes the task turns into a warning state | -
@@ -28,7 +28,7 @@
2828
//! ```toml
2929
//! [[block]]
3030
//! block = "timewarrior"
31-
//! format = " $icon {$tags.str(w:8,max_w:8,rot_interval:4) $elapsed|}"
31+
//! format = " $icon {$tags.str(w:8,rot_interval:4) $elapsed|}"
3232
//! ```
3333
//!
3434
//! # Icons Used

0 commit comments

Comments
 (0)