tokmd-format 1.13.0

Output formatting and serialization (Markdown, JSON, CSV) for tokmd.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Analysis input Markdown rendering.
//!
//! This module owns the caller-provided analysis input list section.

use std::fmt::Write;

pub(super) fn render_inputs(out: &mut String, inputs: &[String]) {
    out.push_str("## Inputs\n\n");
    for input in inputs {
        let _ = writeln!(out, "- `{}`", input);
    }
    out.push('\n');
}