fix: support -o param to avoid encoding issues (#116)

* perf: cli supports -o param

* doc: update README

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
This commit is contained in:
Soulter
2024-12-21 06:43:00 +08:00
committed by GitHub
parent 377a7eaa7d
commit 1123392306
2 changed files with 30 additions and 2 deletions

View File

@@ -29,6 +29,12 @@ To install MarkItDown, use pip: `pip install markitdown`. Alternatively, you can
markitdown path-to-file.pdf > document.md
```
Or use `-o` to specify the output file:
```bash
markitdown path-to-file.pdf -o document.md
```
You can also pipe content:
```bash