Skip to content

Commit 79dc4bd

Browse files
author
Ava Thorn
committed
updated readme
1 parent 3c5b204 commit 79dc4bd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,14 @@ Convert files directly
3232
from htmldocx import HtmlToDocx
3333
3434
new_parser = HtmlToDocx()
35-
new_parser.parse_html_file(input-html-file, output-docx-file)
35+
new_parser.parse_html_file(input_html_file_path, output_docx_file_path)
36+
```
37+
38+
Convert files from a string
39+
40+
```
41+
from htmldocx import HtmlToDocx
42+
43+
new_parser = HtmlToDocx()
44+
docx = new_parser.parse_html_string(input_html_file_string)
3645
```

0 commit comments

Comments
 (0)