Python tool for converting files and office documents to Markdown.
docs: use canonical markdown result property (#2259)
Sheroy Cooper20d06b6c8508
diff --git a/README.md b/README.mdindex 138303f4..34ede0e3 100644--- a/README.md+++ b/README.md@@ -152,7 +152,7 @@ md = MarkItDown(llm_model="gpt-4o",)result = md.convert("document_with_images.pdf")-print(result.text_content)+print(result.markdown)```If no `llm_client` is provided the plugin still loads, but OCR is silently skipped and the standard built-in converter is used instead.@@ -269,7 +269,7 @@ from markitdown import MarkItDownmd = MarkItDown(enable_plugins=False) # Set to True to enable pluginsresult = md.convert("test.xlsx")-print(result.text_content)+print(result.markdown)```Document Intelligence conversion in Python:@@ -279,7 +279,7 @@ from markitdown import MarkItDownmd = MarkItDown(docintel_endpoint="<document_intelligence_endpoint>")result = md.convert("test.pdf")-print(result.text_content)+print(result.markdown)```To use Large Language Models for image descriptions (currently only for pptx and image files), provide `llm_client` and `llm_model`:@@ -291,7 +291,7 @@ from openai import OpenAIclient = OpenAI()md = MarkItDown(llm_client=client, llm_model="gpt-4o", llm_prompt="optional custom prompt")result = md.convert("example.jpg")-print(result.text_content)+print(result.markdown)```### Dockerdiff --git a/packages/markitdown/README.md b/packages/markitdown/README.mdindex 0b6b67b1..2ac98708 100644--- a/packages/markitdown/README.md+++ b/packages/markitdown/README.md@@ -39,7 +39,7 @@ from markitdown import MarkItDownmd = MarkItDown()result = md.convert("test.xlsx")-print(result.text_content)+print(result.markdown)```### More Information