Markdown button/slider

Could someone provide me a coding example of the new possibility to insert markdown in buttons?
Like how to do a thing like this:

image

And also, how is it possible to create a slider like this? Screen always taken from the DEMo v. 1.15.0
image

Thank you all,
Lorenzo

1 Like

In the hamburger menu, select “Vew app source”.

Thank you!

I do not see any “view source” in the hamberger menu, in the demo app for Markdown in widgets ; https://markdown-labels.streamlit.app/

It would be nice to update documentation with an example

I don’t know why that happens. Here you are, anyway: