pub async fn run_src2md(config: Config) -> Result<()>Expand description
Generate a Markdown file from source/text files
If fail_fast is true in the config, stops on first error.
Otherwise, logs errors and continues processing remaining files.
§Output File Handling
The output file and any previous src2md outputs are automatically excluded from collection to prevent:
- Race conditions (writing while reading the same file)
- Self-inclusion (including previous outputs in new outputs)
§Default Exclusions
Hidden files, lock files, and previous src2md outputs are always excluded.
Use the extensions field to filter by file type.