## mj-raw Displays raw HTML that is not going to be parsed by the MJML engine. Anything left inside this tag should be raw, responsive HTML. If placed inside ``, its content will be added at the end of the ``. ```xml ```

try it live

If you use mj-raw to add templating language, and use the `minify` option, you might get a `Parsing error`, especially when using the `<` character. You can tell the minifier to ignore some content by wrapping it between two `` tags. ```xml {% if foo < 5 %} {% endif %} ``` One more possible use of mj-raw is to add text at the beginning of the generated html, before the `` line. For this you need to : - put the mj-raw inside the `` tag, outside of `mj-head` and `mj-body` - add this attribute on this mj-raw : `position="file-start"` Note that if you put multiple lines in this mj-raw and use the minify option, these lines will be joined into a single line by the minifier. To prevent this you can wrap the content in `` tags as explained above. ```xml This will be added at the beginning of the file ```