Languages Features Creators CSV Resources Challenges Add Language
GitHub icon


Thymeleaf - Template language

< >

Thymeleaf is a template language created in 2011.

#616on PLDB 12Years Old 440Users
0Books 0Papers

Thymeleaf is a Java XML/XHTML/HTML5 template engine that can work both in web (servlet-based) and non-web environments. It is better suited for serving XHTML/HTML5 at the view layer of MVC-based web applications, but it can process any XML file even in offline environments. It provides full Spring Framework integration. Read more on Wikipedia...

Example from Wikipedia:
<table> <thead> <tr> <th th:text="#{}">Name</th> <th th:text="#{msgs.headers.price}">Price</th> </tr> </thead> <tbody> <tr th:each="prod : ${allProducts}"> <td th:text="${}">Oranges</td> <td th:text="${#numbers.formatDecimal(prod.price,1,2)}">0.99</td> </tr> </tbody> </table>
blockml.html 路 thymeleaf.html 路 sysml.html

View source

- Build the next great programming language Search Day 213 About Blog Acknowledgements Traffic Traffic Today GitHub