to_markdown_async method

to_markdown_async

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.

to_markdown_async

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.

See Also