updated readme
This commit is contained in:
parent
d9a92f7f06
commit
b671345bb9
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue