updated readme

This commit is contained in:
Kenny Zhang
2025-02-27 15:07:46 -05:00
parent d9a92f7f06
commit b671345bb9

View File

@@ -104,6 +104,7 @@ from markitdown import MarkItDown
md = MarkItDown()
# Providing the file extension when converting via file objects is recommended for most consistent results
# Binary Mode
with open("test.docx", 'rb') as file:
result = md.convert(file, file_extension=".docx")