docx.mdx 287 B

123456789101112
  1. ---
  2. title: 'Docx File'
  3. ---
  4. ### Docx file
  5. To add any doc/docx file, use the data_type as `docx`. `docx` allows remote urls and conventional file paths. Eg:
  6. ```python
  7. app.add('https://example.com/content/intro.docx', data_type="docx")
  8. app.add('content/intro.docx', data_type="docx")
  9. ```