Closure Tools

Closure Templates Documentation


  • What's New — Latest changes.

  • Hello World Using JavaScript — Getting Started with Closure Templates in JavaScript.

  • Hello World Using Java — Getting Started with Closure Templates in Java.

  • Concepts — The basics of how Closure Templates work, including template data, expressions, file structure, comments, line joining, and more.

  • Commands — Explanations of all template commands you can use.

  • Functions and Print Directives — Lists the functions and print directives you can use.

  • JavaScript Usage — How to use Closure Templates in JavaScript, including code examples.

  • Java Usage — How to use Closure Templates in Java, including code examples.

  • Security — Use autoescaping to prevent cross-site scripting.

  • Translation — Built-in easy-to-use localization support.

  • Bidirectional Text Support — Built-in functions for working with bidirectional text.

  • Plugins — Write your own plugins for additional functions, print directives, or message file formats.

  • Syntax Highlighting — IntelliJ, emacs, and vim syntax highlighting.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.