--- title: "Code" slug: code category: component type: examples version: 20.0.0 tokens: 170 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-code--examples.txt --- # Code ## Default ```tsx console.log('Hello world'); ``` ## Multiline ```tsx { `function isTargetInElement(event, element) { if (!element) { return false; } return element.contains(event.target) || event.composedPath().includes(element); }` } ``` ## Can Copy ```tsx { `import { Text } from '@ovhcloud/ods-react';` } ``` ## Custom Labels ```tsx console.log('Hello world'); ``` ## Highlighter ```tsx console.log('Hello World'); ```