to_markdown_async method
Leave feedback
On this page
Asynchronously converts the document at the specified path to Markdown. File reading is performed asynchronously.
def to_markdown_async(cls, source_path):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str |
The path to the source document. |
Returns: str: The converted Markdown content.
| Raises | Description |
|---|---|
GroupDocsMarkdownException |
Thrown when conversion fails. |
Asynchronously converts the document at the specified path to Markdown.
def to_markdown_async(cls, source_path, load_options, convert_options):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str |
The path to the source document. |
| load_options | LoadOptions |
Options for loading the document. May be None. |
| convert_options | ConvertOptions |
Options for the conversion. May be None. |
Returns: str: The converted Markdown content.
| Raises | Description |
|---|---|
GroupDocsMarkdownException |
Thrown when conversion fails. |
- class
MarkdownConverter
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.