mdtablefix 0.6.1

`mdtablefix` unb0rks and reflows Markdown tables so that each column has a uniform width. When the `--wrap` option is used, it also wraps paragraphs and list items to 80 columns.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! CLI standard input helpers used by integration tests.

use assert_cmd::{Command, assert::Assert};

/// Run the `mdtablefix` binary with the provided arguments and standard input.
///
/// Returns an [`Assert`] handle for chaining output and status checks.
pub fn run_cli_with_stdin(
    args: &[&str],
    input: &str,
) -> Result<Assert, Box<dyn std::error::Error>> {
    Ok(Command::cargo_bin("mdtablefix")?
        .args(args)
        .write_stdin(input)
        .assert())
}