Showing 10 of 1,322 results.

The Document Parser

The Document Parser is responsible for parsing Blade templates. By default, it supports all directives supported by the library's compiler. Any custom directive names need to be registered with the parser instance. It is also possible to disable...

Acquisition and Redistribution | Licensing

Meerkat may only be obtained through official channels (the Statamic Marketplace, and those specified in the installation guide). Meerkat may redistributed only in the capacity that it is part of a larger work for a client. Repackaging, bundling,...

setDirectiveNames | Blade Documents

Sets the document's directive names. The directive names supplied to this method should match those that were used when initially parsing the input template. These directive names will be used when performing structural analysis. If you are using...

Directive Spacing | The Validate Command

Class : DirectiveSpacingValidator The directive spacing validator emits a validation error when a directive does not have sufficient leading or trailing whitespace. The following template: 1 < span class = " @if @endif " > </ span > produces the...

se_cm_to_hljs Modifier

The se_cm_to_hljs modifier can be used to convert a Code Mirror language identifier to a Highlight.js language identifier. The target scenario is using Statamic's Code fieldtype in the Control Panel, and using Highlight.js to provide syntax...

The as Modifier | A Beginners Guide to Antlers Arrays and Loops

Example 1.9 uses the as modifier to create a copy of our original array. We can use the as modifier on any array, which is useful whenever we want to control where our output items appear without explicitly creating temporary variables. Our...

Filter Search