Serving static pages, integrating html pages in the page list

Summary

Our shiny DS apps must sometime contain non-python content.
We need a way to insert static content in st apps.

Example: About or Contact pages
To create an “About” page, writing multiple st.write is not funny at all.

Example: KnowYourGraph/100_💡About.py at main · wadael/KnowYourGraph · GitHub

what I’d like would be to be able to add static content (html, css, js) to my app AND be able to have it referenced in the menu.

You can go a long way with just one st.markdown. If that is not enough use an html or iframe component.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.