Markdown Display
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
Name | Description | Type |
---|---|---|
text | The formatted text to display to the user | str |
end_program | Whether the program should end after the widget is shown. Defaults to False. | bool |
full_width | Whether the input should use full screen width. Defaults to False. | bool |
button_text | What text to display on the button when the widget is not part of a Page. Defaults to 'Next'. | str |