docs(cli::printing): document use of parameters for blockfmt_advanced
cargo devel CI / cargo CI (push) Successful in 1m59s Details

This commit is contained in:
Christoph J. Scherr 2024-06-27 22:26:18 +02:00
parent 0179c53e82
commit 57709e963c
1 changed files with 5 additions and 1 deletions

View File

@ -83,7 +83,11 @@ pub fn blockfmt(content: impl ToString, color: Color) -> String {
///
/// # Parameters
///
///
/// - `content`: The content to be formatted within the border
/// - `color`: The color of the border and text
/// - `preset`: The preset style for the border
/// - `arrangement`: The arrangement of the the border (e.g., stretch to sides, wrap around )
/// - `alignment`: The alignment of the content within the cells (e.g., left, center, right)
pub fn blockfmt_advanced(
content: impl ToString,
color: Option<Color>,