# angular.markup

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.

Angular markup transforms content of DOM elements or portions of this content into other text or DOM elements for further compilation.

Markup extensions do not themselves produce linking functions. Think of markup as a way to produce shorthand for a `widget` or a `directive`.

The most prominent example of an markup in angular is the built-in double curly markup `{{expression}}`, which is a shorthand for `<span ng:bind="expression"></span>`.

Create custom markup like this:

      angular.markup('newMarkup', function(text, textNode, parentElement){
        //tranformation code
      });

For more information about angular markup, see Understanding Angular Markup in the angular Developer Guide.