updated readme
This commit is contained in:
@@ -104,6 +104,7 @@ from markitdown import MarkItDown
|
|||||||
|
|
||||||
md = MarkItDown()
|
md = MarkItDown()
|
||||||
|
|
||||||
|
# Providing the file extension when converting via file objects is recommended for most consistent results
|
||||||
# Binary Mode
|
# Binary Mode
|
||||||
with open("test.docx", 'rb') as file:
|
with open("test.docx", 'rb') as file:
|
||||||
result = md.convert(file, file_extension=".docx")
|
result = md.convert(file, file_extension=".docx")
|
||||||
|
|||||||
Reference in New Issue
Block a user