ParagraphConverter

ParagraphConverter

Overview

ParagraphConverter is a class in Aspose.Words FOSS for Python.

Handles conversion of paragraphs to Markdown.

This class provides 4 methods for working with ParagraphConverter objects in Python programs. Available methods include: __init__, format_text, get_paragraph_info, get_run_formatting. All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package. Properties: options.

Properties

NameTypeAccessDescription
options``ReadGets the options.

Methods

SignatureDescription
__init__(options: ConversionOptions)
get_paragraph_info(para: ParagraphData)ParagraphInfoExtract comprehensive information from a paragraph.
get_run_formatting(run: RunData)RunFormattingExtract formatting information from a run.
format_text(text: str, fmt: RunFormatting, is_code_block: bool)strApply Markdown formatting to text.

See Also

 English