Open joeduffy opened 4 years ago
Totally possible yes. There is an API on the examples component itself that toggles the expanded-ness of a given example. We should be able to use this component method from page script (rather than examine the URL from within the component) to make this work. (And apologies for not responding to this one sooner!)
oh its fine, it was transferred from docs, so who knows if triaging this was part of ur responsibility at the time
I noticed that linking to a specific example using its anchor doesn't work quite as expected since the examples are collapsed by default. Is it possible to auto-expand examples when linking to their anchors? For example, see https://www.pulumi.com/docs/reference/pkg/aws/s3/bucket/?language=csharp#static-website-hosting.