FreeMarker is an actively used programming language created in 2000. FreeMarker is a free Java-based template engine, originally focusing on dynamic web page generation with MVC software architecture. However, it is a general purpose template engine, with no dependency on servlets or HTTP or HTML, and is thus often used for generating source code, configuration files or e-mails. . Read more on Wikipedia...

20Years Old 20Users ?Jobs

Example code from Linguist:

<#ftl strip_text=true />

<#macro page title>
    <!doctype html>
    <html lang="${.lang}">
            <@metaTags />
            <#nested />
            <@footer />

  Default meta tags
<#macro metaTags>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <meta name="format-detection" content="telephone=no">

<#macro footer>
    <p>This page is using FreeMarker v${.version}</p>

Example code from Wikipedia:

<p>Hello Joe! You have the following messages:
  <p><b>Tim:</b> Please don't forget to bring the conference papers!</p>
  <p><b>Cindy:</b> Can you give me a visit this afternoon?</p>
  <p><b>Richard:</b> Don't forget the papers this time!</p>

Trending Repos

repo stars description

Last updated August 9th, 2020

Edit FreeMarker on GitHub