Is there a method for navigating to a particular location in a page from another one?


Hi Everyone! I have an app with multiple pages. I am adding another page called User manual. In this page, I am explaining to the user how to navigate the app. Is there any way where I can have links that will direct the user to particular locations across all pages?

Would this documentation on how to create an anchor link answer your question?

For example, you can create a link to a header titled โ€œSection 1โ€ using the following code:

st.markdown("[Section 1](#section-1)")

Thereโ€™s also this great demo that showcases how the links to different sections could look like:

And its corresponding GitHub repository: