#Raw

A macro component that does not translate any of its contents


The content will be passed untouched to the underlying Phoenix's template engine.

Note: By skipping translation, all Surface specific features are automatically disabled, including code interpolation with {{...}}, syntactic sugar for attributes and markup validation.


With translation:
John Doe
Without translation:
{@user}
      
With translation:
<div class="section title">
  {@user}
</div>

Without translation:
<#Raw>
  <div class="section title">
    {@user}
  </div>
</#Raw>
    

# Public API

Name Description
default The content that will not be translated by Surface.