fn generate_markdownlintignore(&self) -> Result<()> {
        let template_path = get_template_path("markdownlintignore")
            .with_context(|| format!("Template `{}.txt` does not exist.", "markdownlintignore"))?;

        let template_file = read_to_string(template_path)?;

        let formatted_file = self.search_and_replace(template_file);

        let mut output = create_file(".markdownlintignore")?;

        output.write_all(formatted_file.as_bytes())?;

        Ok(())
    }
/// Generates a .markdownlint ignore file for the project.
Generates a .markdownlint ignore file for the project.
Generates a . markdownlint ignore file for the project .
fn generate_markdownlintignore(&self) -> Result<()> {
        let template_path = get_template_path("markdownlintignore")
            .with_context(|| format!("Template `{}.txt` does not exist.", "markdownlintignore"))?;
        let template_file = read_to_string(template_path)?;
        let formatted_file = self.search_and_replace(template_file);
        let mut output = create_file(".markdownlintignore")?;
        output.write_all(formatted_file.as_bytes())?;
        Ok(())
    }
fn generate_markdownlintignore ( & self ) -> Result < ( ) > { let template_path = get_template_path ( " " ) . with_context ( | | format ! ( " " " " ) ) ? ; let template_file = read_to_string ( template_path ) ? ; let formatted_file = self . search_and_replace ( template_file ) ; let mut output = create_file ( " " ) ? ; output . write_all ( formatted_file . as_bytes ( ) ) ? ; Ok ( ( ) ) }
Generates a .markdownlint ignore file for the project.
Generates a . markdownlint ignore file for the project .
&self
&self