parameters: (self)
docstring: Save processed content of markdown file in output_dir
docstring_summary: Save processed content of markdown file in output_dir
docstring_tokens: Save processed content of markdown file in output_dir
function: def copy_markdown(self):
          """
          Save processed content of markdown file in output_dir
          """
          rel_path = self.md_file.relative_to(self.input_dir)
          dest = self.output_dir.joinpath(rel_path)
          dest.parents[0].mkdir(parents=True, exist_ok=True)
          with open(dest, 'w', encoding='utf-8') as f:
              f.write(self.content)
function_tokens: def copy_markdown ( self ) : rel_path = self . md_file . relative_to ( self . input_dir ) dest = self . output_dir . joinpath ( rel_path ) dest . parents [ 0 ] . mkdir ( parents = True , exist_ok = True ) with open ( dest , 'w' , encoding = 'utf-8' ) as f : f . write ( self . content )