From d25bdf697a23c9ff6da1512a99aa589692c30086 Mon Sep 17 00:00:00 2001 From: LewBlu Date: Thu, 30 May 2024 19:42:25 +0100 Subject: [PATCH] Update to README, use @ for placeholder to render content --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0e6a397..89892ab 100644 --- a/README.md +++ b/README.md @@ -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