Fixed a few typos.
This commit is contained in:
parent
25997a02fa
commit
e54f706ae3
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
This project shows how to create a sample plugin for MarkItDown. The two most important parts are as follows:
|
This project shows how to create a sample plugin for MarkItDown. The two most important parts are as follows:
|
||||||
|
|
||||||
First, implement you custom DocumentConverter:
|
First, implement your custom DocumentConverter:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|
@ -30,7 +30,7 @@ class RtfConverter(DocumentConverter):
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
Second, you create an entrypoint in the `pyproject.toml` file:
|
Second, create an entrypoint in the `pyproject.toml` file:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[project.entry-points."markitdown.plugin.converters"]
|
[project.entry-points."markitdown.plugin.converters"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue