v0.1.1
Added
- convert_uri function now handles data and file URIs
Changed
- convert_url renamed to convert_uri
Deprecated
- convert_url remains as an alias to convert_uri for backward compatibility
What's Changed
convert_url renamed to convert_uri, and now handles data and file URIs by @afourney in https://github.com/microsoft/markitdown/pull/1153
NOTE: convert_url remains an alias to convert_uri, for backward compatibility.
Both now accept file URIs and data URIs:
e.g.,
markitdown = MarkItDown()
result = markitdown.convert_uri("file:///path/to/file.txt")
print(result.markdown)
And,
markitdown = MarkItDown()
result = markitdown.convert_uri("data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==")
print(result.markdown)
Full Changelog: https://github.com/microsoft/markitdown/compare/v0.1.0...v0.1.1