I am happy to share with you a new component called Streamlit Reveal Slides!
With this component, you can create reveal.js HTML presentations with markdown or markup. The generated presentation is then embedded into your Streamlit app for full-featured use. You can run the presentation right from inside your app in embedded mode or fullscreen mode. This component is bidirectional allowing you to control the presentation via your app but also allowing you to have the presentation control your app.
pip install streamlit-reveal-slides
I’ve improved a few things, the most important of which is that I added a
display_only argument to
slides function that kills the bidirectionality and prevents any communication from the slides to streamlit via
Streamlit.setComponentValue. This is useful if you dont need presentation status information and you want to prevent unnecessary app reruns (every time the component sends info back to Streamlit, the app is rerun).
Also, the default configuration for presentations has been changed to fit more with regular Streamlit app layout. The hope is that, there is less of a need to have to mess around with many of the config parameters. You can get something usable with just:
import reveal_slides as rs