atsphinx-stlite¶
atsphinx-stlite is Sphinx extension to embed Stlite contents into your documentation.
Show the demo¶
When you write left-side content into your document, there is right-side content on your website.
.. stlite::
# This source is copy from "Hello" app from https://streamlit.io/playground
import streamlit as st
st.title("Hello Streamlit-er 👋")
st.markdown(
"""
This is a playground for you to try Streamlit and have fun.
**There's :rainbow[so much] you can build!**
We prepared a few examples for you to get started. Just
click on the buttons above and discover what you can do
with Streamlit.
"""
)
```{stlite}
# This source is copy from "Hello" app from https://streamlit.io/playground
import streamlit as st
st.title("Hello Streamlit-er 👋")
st.markdown(
"""
This is a playground for you to try Streamlit and have fun.
**There's :rainbow[so much] you can build!**
We prepared a few examples for you to get started. Just
click on the buttons above and discover what you can do
with Streamlit.
"""
)
```
When do you use this?¶
Write description about Streamlit app on Sphinx.
Write demonstration of presentation using sphinx-revealjs.
Are you interested in this?¶
Let’s got to User guide.