convert_async method

convert_async

Asynchronously converts the loaded document to Markdown and returns the result as a string.

def convert_async(self):
    ...

Returns: str: The converted Markdown content.

convert_async

Asynchronously converts the loaded document to Markdown with the specified options.

def convert_async(self, convert_options):
    ...
Parameter Type Description
convert_options ConvertOptions Options that control the conversion.

convert_async

Asynchronously converts the loaded document and saves the result to a file.

def convert_async(self, output_file_path, convert_options):
    ...
Parameter Type Description
output_file_path str The path where the Markdown file will be written.
convert_options ConvertOptions Options that control the conversion. Pass None for defaults.

See Also