ContentBlocks ContentBlocks 2.x Developer Parser and Rendering

Content is parsed and rendered when a resource saves. The generated HTML is stored on the content.

It’s possible to create content programmatically using fluid PHP classes. See Building Content in PHP.

To build custom parsers to support other templating languages than Twig and MODX syntax, see Parser.