aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 73eca75..d91ce52 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,7 @@ Each paragraph is followed by two newlines.
```java
DocumentConverter converter = new DocumentConverter();
-Result<String> result = converter.convertToMarkdown(new File("document.docx"));
+Result<String> result = converter.extractRawText(new File("document.docx"));
String html = result.getValue(); // The raw text
List<String> warnings = result.getWarnings(); // Any warnings during conversion
```