success method
Leave feedback
On this page
Creates a successful result without content. Used when the output was written to a stream or file.
def success(cls):
...
Returns: ConvertResult: A result with IsSuccess set to True and Content set to None.
Creates a successful result containing the converted Markdown content.
def success(cls, content):
...
| Parameter | Type | Description |
|---|---|---|
| content | str |
The Markdown content produced by the conversion. |
Returns: ConvertResult: A result with IsSuccess set to True and the specified content.
- class
ConvertResult
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.