DEV Community

aronsantha
aronsantha

Posted on • Edited on

> Remove formatting for test data

Use <pre> tags during development to print data with unformatted text. It will:

  • display a fixed-width font, and
  • preserve spaces and line breaks.

FYI, most browsers use these styles to format <pre> tags:

  display: block;
  font-family: monospace;
  white-space: pre;
  margin-top: 1em;
  margin-bottom: 1em;
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more