Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
在单个组件中展示多个代码示例
CodeGroup
console.log("Hello World");
print('Hello World!')
class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
<CodeGroup>
<CodeGroup> ```javascript helloWorld.js console.log("你好,世界"); ``` ```python hello_world.py print('你好,世界!') ``` ```java HelloWorld.java class HelloWorld { public static void main(String[] args) { System.out.println("你好,世界!"); } } ``` </CodeGroup>
dropdown
JavaScript
<CodeGroup dropdown> ```javascript helloWorld.js console.log("你好,世界"); ``` ```python hello_world.py print('你好,世界!') ``` ```java HelloWorld.java class HelloWorld { public static void main(String[] args) { System.out.println("你好,世界!"); } } ``` </CodeGroup>