February 4, 2025

Introducing Global Language Sync: Code Language Preferences That Follow You

Starting today, when you select a programming language in any <CodeBlocks> or <Tabs>, that preference will automatically sync across all documentation pages. This means no more manually switching languages as you navigate through different sections of our docs. Whether you’re viewing implementation examples, debugging guides, or API references, your preferred language follows you. Language preference is kept in client-side local storage.

This behavior is automatically enabled for all <CodeBlocks>. To add language preferences to a <Tab>, you can add the language property. Check out language sync in the example below:

This is content specific to TypeScript.

1console.log("Hello, world!");
1console.log("This content is synced!");