Text::Xslate::Syntax::Metakolon - The same as Kolon but using [% ... %] tags
Contents
Description
Metakolon is the same as Kolon except for using "[% ... %]" tags and "%% ..." line code, instead of "<:
... :>" and ": ...".
This may be useful when you want to produce Xslate templates by itself.
See Text::Xslate::Syntax::Kolon for details.
Name
Text::Xslate::Syntax::Metakolon - The same as Kolon but using [% ... %] tags
See Also
Text::Xslate
perl v5.40.0 2024-10-20 Text::Xslate::Syntax::Metakolon(3pm)
Synopsis
use Text::Xslate;
my $tx = Text::Xslate->new(
syntax => 'Metakolon',
);
print $tx->render_string(
'Hello, [% $dialect %] world!',
{ dialect => 'Metakolon' }
);
