class Marten::Template::Tag::Verbatim

Overview

The verbatim template tag.

The {% verbatim %}...{% endverbatim %} template tag prevents the content of the tag to be processed by the template engine. For example:

{% verbatim %}
  This should not be {{ processed }}.
{% endverbaim %}

Defined in:

marten/template/tag/verbatim.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::Template::Tag::Base

render(context : Context) : String render

Constructor methods inherited from class Marten::Template::Tag::Base

new(parser : Parser, source : String) new

Constructor Detail

def self.new(parser : Parser, source : String) #

[View source]

Instance Method Detail

def render(context : Context) : String #
Description copied from class Marten::Template::Tag::Base

Render the template tag for a given context.


[View source]