Skip to main content

Code

Use the Code component to display snippets of code inline. If you want to display a block of code, use the CodeSnippet component instead.

Use the Code component to display snippets of code inline. If you want to display a block of code, use the CodeSnippet component instead.

Import

import { Code } from '@dynatrace/strato-components/typography';

Use cases

CodeSandbox
Still have questions?
Find answers in the Dynatrace Community