title: How can I create a fixed sidebar navigation that highlights the currently viewed section of the page?
body: <p>This seems like it should be simple but I'm having a hard time finding an example of how to implement this.  I cannot figure out how to get the sidebar links to highlight when I scroll to the respective id that the link points to on the page.  Here is an example of this on the Microsoft Docs site (the righthand sidebar):</p>
  <p><a href="https://docs.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-6.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-6.0</a></p>