Multipage markdown link to different page

Hi community and developers,

Streamlit is awesome! I have a standard multi page app that can be navigated with radio buttons in the sidebar. Is there any way to have a link in st.markdown that allows navigating to another page? In the MWE, I’d like to insert a link on the home page that leads to the help page.

import streamlit as st

def home():
    st.title("Home")
    st.markdown("Please find help **here**")

def info():
    st.title("Info")

def myhelp():
    st.title("Help")

menu = {
    "Home": home,
    "Info": info,
    "Help": myhelp
}

def main():
    menu_item = st.sidebar.radio(
        "Navigation",
        ["Home", "Info", "Help"]
    )

    menu[menu_item]()

if __name__ == "__main__":
    main()

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