Skip to main content

Code

  • Changelog

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

Package @dynatrace/strato-components, latest version 3.15.1. Below are the changes to Code. See Components changelog for all changes to the package.

3.13.0 Released Sep 3, 2026​

Updates​

  • The background and text color are now purple instead of neutral, with dedicated values for light and dark mode. (APPDEV-19763)

3.11.0 Released Aug 10, 2026​

Updates​

Typography​

  • You can now set the id prop on Blockquote, Code, Emphasis, ExternalLink, Highlight, List, Strikethrough, and Strong.
Still have questions?
Find answers in the Dynatrace Community