Hey @Victor6, so when I open the link with the hashtag included, e.g. https://huggingface.co/spaces/victormiller/test#section-2, it opens the website scrolled down to the section (or as far down as possible given the website height).
Am I understanding it correctly that you would like to see it scrolling down while being on the website and clicking on the anchor button?
Would the new st.navigation command help you? You could define each section as a page, which would show up on the sidebar and you also can access the page directly via a URL path.