Skip to main content

Markdown Display

info

This widget is deprecated. Use the Markdown Display widget instead.

Show markdown formatted text to the user

Examples

Basic Example

The following example demonstrate some of the available functionality for display_markdown

from abstra.forms import display_markdown

display_markdown(
"""
## Let's see some examples 8-)

* 1^th^ H~2~0



- [ ] Task

* ==Mark==

* [Link](https://www.abstracloud.com/)"""
)

Parameters

NameDescriptionType
textThe formatted text to display to the userstr
end_programWhether the program should end after the widget is shown. Defaults to False.bool
full_widthWhether the input should use full screen width. Defaults to False.bool
button_textWhat text to display on the button when the widget is not part of a Page. Defaults to 'Next'.str