Unsupported web browser - Use a modern browser to view this website!
FreeMarker
  • Home
  • Manual
  • Java API
  • Contribute
  • Report a Bug
  • Download
Manual
Search form
  • Apache FreeMarker Manual
  • Template Author's Guide
Bookmarks:
  • Alpha. index
  • Glossary
  • Expressions
  • ?builtins
  • #directives
  • .spec_vars
  • FAQ
PreviousNext

Template Author's Guide

Section Contents
  • Getting Started
    • Template + data-model = output
    • The data-model at a glance
    • The template at a glance
  • Values, Types
    • Basics
    • The types
  • The Template
    • Overall structure
    • Directives
    • Expressions
    • Interpolations
  • Miscellaneous
    • Defining your own directives
    • Defining variables in the template
    • Namespaces
    • Auto-escaping and output formats
    • Formatting for humans, or for computers
    • White-space handling
    • Alternative (square bracket) syntax
PreviousNext

Overview

  • What is FreeMarker?
  • Download
  • Version history
  • FAQ
  • License
  • Privacy policy

Often used / Reference

  • Try template online
  • Expressions cheatsheet
  • #directives
  • ?built_ins
  • .special_vars
  • Configuration settings

Community

  • Github project page
  • Report a bug
  • Report security vulnerability
  • Get help on StackOverflow
  • Announcements on Twitter
  • Discuss on mailing lists
  • Github
  • Twitter
  • Stack Overflow
Edited with XMLMind XML Editor

Last generated: 2025-03-11 10:59:11 GMT, for Freemarker 2.3.34

© 1999–2025 The Apache Software Foundation. Apache FreeMarker, FreeMarker, Apache, the Apache feather logo, and the Apache FreeMarker project logo are trademarks or registered trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.