grips Templating Engine
This is an online template playground for the grips Templating Engine . The grips documentation includes explanations of the grips syntax , the grips API , and some simple grips template examples .
NOTE: Try toggling the 'Use debug library build' setting to see the differences in the compiled code output, as well as how it affects error messages from template parsing and rendering.
Select a sample template:
Hello World (long-form)
Hello World (short-form)
Conditional Assignments
Raw Unparsed Block
Template Comments
Let-local Assignments
Include Partial Statically
Include Partial Dynamically
Include Partial, Context
Basic Loop (array)
Basic Loop (object)
Loop, Iteration Assignments
Loop, Partial
Nested Loops
Loop, Range Literal
Loop, Set Literal
Tag-level escaping (html)
Tag-level escaping (string)
Tag-level escaping (url)
Block-level escaping (html)
Simple pre-computation comparison
Iteration of pre-computation hash
Nested loops and pre-computation comparisons
Inheritance #1
Inheritance #2
Inheritance #3
Template Parsing Error #1
Template Parsing Error #2
Template Parsing Error #3
Template Parsing Error #4
Template Parsing Error #5
Template Parsing Error #6
Template Parsing Error #7
Template Parsing Error #8
Template Rendering Error #1
Template Rendering Error #2
Template Rendering Error #3
Performance Benchmark #1
|
Use debug library build