code: def docx_to_md(input_name, output_name):
      
  
      if output_name[-5:] == '.docx':
          os.system("pandoc " + input_name + " -o " + output_name)
      else:
          os.system("pandoc " + input_name + " -o " + output_name + ".docx" )
docs: Converts an input docx file to MarkDown file of the given output name.
  
      Parameters
      ==========
      input_name : String
      Relative file location of the input file to where this function is being called.
  
      output_name : String
      Relative file location of the output file to where this function is being called. Note that .md can be omitted.
  
      Examples
      ========
      Suppose we have a directory as follows:
      data/
          doc.docx
      
      To convert the document:
      >>> from aide_document import convert
      >>> convert.docx_to_md(data/doc.docx, data/doc.md)
  
      .md can also be omitted from the second argument.