pub fn update_markdown_file(
input_filepath: &Path,
output_filepath: Option<&Path>,
verbose: bool,
backtick_standardize: bool,
execute: bool,
standardize: bool,
) -> Result<()>Expand description
Update a Markdown file by executing code blocks and inserting their output.
§Arguments
input_filepath- Path to the input Markdown fileoutput_filepath- Optional path to the output file (defaults to overwriting input)verbose- Enable verbose outputbacktick_standardize- Removemarkdown-code-runnerfrom executed code fencesexecute- Whether to execute code blocksstandardize- Post-process to standardize ALL code fences
§Errors
Returns an error if the file cannot be read, written, or if code execution fails.