FeatureRequestToolshelp wantedpkgsite
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
example: https://golang.org/pkg/html/template/#example_Template_block
The only way to reset a code example when you mest up trying something is to refresh the page. This is annoying if you are on a large page. Note that ussualy you are just on this url https://golang.org/pkg/html/template without a hash tag to the example directly so your page wil jump up when you refresh.
Possible solutions update the hash tag when you expand the example

Or introduce a reset icon somewhere. (where and how i am not sure yet, feel free to discuss)