-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to save image in the markdown #162
Comments
Can you show an example? |
from markitdown import MarkItDown
md = MarkItDown()
result = md.convert("test.pdf")
print(result.text_content)
md_file = 'text.md'
with open(md_file, 'w') as f:
f.write(result.text_content) I'm write code like this. In file text.md, only text saved, the image part shows like
|
up |
I have documents with embedded images that I would like to convert to markdown, so this feature would be helpful for me. Currently when exporting it exports like this (exact quote):
I could see two resolutions:
|
Same problem, base64 data shoul be in the data-url or file saved, neither are there.. just |
The image in the markdown is represented as this: . How can I save images?
The text was updated successfully, but these errors were encountered: