pub fn remove_code_from_all_markdown_files_in<P1, P2>(
    markdown_src_dir_path: P1,
    code_dir_path: P2
) -> Result<()>
where P1: AsRef<Path>, P2: AsRef<Path>,
Expand description

Remove Rust code blocks from Markdown files, replacing each by an {{#include … }} statement.

Note: the curent code does not handle multiple examples in one file well. You may need to number includes manually.

markdown_src_dir_path: path to the source directory containing the Markdown files

code_dir_path: path to the folder containing the Rust code.