One of these approaches might do the trick?
The demo that launches from here contains a plot on the 3rd sub-slide (/slide-0-3
). It also has markdown under it that you can edit to make a bulleted list, see here.
- test 1
- test 2
- test 3
Discourse’s system renders markdown so that text above gets rendered as markdown but the markdown text for it is:
- test 1
- test 2
- test 3
Sometimes in notebooks I have used HTML defined in code to combine with other objects/output.
The following adds HTML rendered text when added to the cell generating plot on that same page:
from IPython.display import HTML
test_code = '''<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>'''
HTML(test_code)
Unfortunately because of the way plot rendering works though from the code defining the plot, it renders above the plot.
However, if I go back up and now replace the content in the cell on sub-slide two (slide-0-2
) with the following I get what looks to be what you want:
from IPython.display import display, HTML
test_code = '''<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>'''
display(fig, HTML(test_code))