Get Started Switch Platform Code

Example: Toggle Between Mac, Windows, and Linux Code Commands

This will keep the selected platform after page reload and across different pages

You can change the default platform by changing the id="defaultOpen" attribute in the button element. For example, to set the default platform to Mac, change id="defaultOpen" to id="Mac".

Change to the next page 'More Code Snippets' to make sure the selected platform is persisted.