Skip to content

Commit

Permalink
Update to README, use @ for placeholder to render content
Browse files Browse the repository at this point in the history
  • Loading branch information
LewBlu committed May 30, 2024
1 parent a22fec6 commit d25bdf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ You can extend the `getHtmlLayout()` method on either a template mailable or a m

When sending a `TemplateMailable` the compiled template will be rendered inside of the `{{{ body }}}` placeholder in the layout before being sent.

If using a Blade view, the placeholder will need to be `@{{{ body }}}`.

The following example will send a `WelcomeMail` using a template wrapped in a layout.

```php
Expand Down

0 comments on commit d25bdf6

Please sign in to comment.