jsonecho

Formateador de Angular

Formatea plantillas Angular para que sean legibles.

Cargando la herramienta...

Cómo usar Formateador de Angular

  1. Pega la plantilla.
  2. Copia el resultado.

Sobre Formateador de Angular

Aplica formato consistente a plantillas de Angular.

Preguntas frecuentes

Does it format the expressions in my bindings?

Yes, expressions inside {{ }} and in property and event bindings are formatted like TypeScript.

Is the new control flow syntax supported?

Yes, @if, @for and @switch blocks are understood by recent versions of the formatter.

Will it break my pipes?

No, pipe syntax is parsed and printed back unchanged apart from spacing.

Why did the first run take a second?

The formatting engine for this language is downloaded the first time you use it, then cached by your browser. After that, formatting is instant and nothing leaves your machine.

Más en Formateadores de código

Todas las herramientas →