markdown_ppp/printer/
config.rs

1pub struct Config {
2    pub(crate) width: usize,
3}
4
5impl Default for Config {
6    fn default() -> Self {
7        Self { width: 80 }
8    }
9}
10
11impl Config {
12    pub fn with_width(width: usize) -> Self {
13        Self { width }
14    }
15}