# md-ulb-pwrap

<!-- This file has been autogenerated.
To update it, change the content of `rust/src/lib.rs`
and run `pre-commit run -a cargo-readme`
-->

{{readme}}

## Usage

```bash
cargo add md-ulb-pwrap
```

````rust
use md_ulb_pwrap::ulb_wrap_paragraph;

assert_eq!(
    ulb_wrap_paragraph(
        &"aaa ``` ``  ` a b c ``` ccc",
        3,
        3,
    ),
    "aaa\n``` ``  ` a b c ```\nccc",
);
````

## Reference

**ulb_wrap_paragraph**(text: _&str_, width: _usize_, first_line_width: <i>usize</i>) -> <i>String</i>

- **text** (_&str_): The text to wrap.
- **width** (_usize_): The maximum width of the lines after the first.
- **first_line_width** (_usize_): The maximum width of the first line.

**Returns** (_String_): The wrapped text.
