Skip to content

Commit 714133c

Browse files
committed
feat: sync 20170223 and Added note about indentation level on markdown emails
1 parent be60292 commit 714133c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mail.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ Markdown mailables 使用 Blade 组件和 Markdown 语法的组合,允许你
351351
{{ config('app.name') }}
352352
@endcomponent
353353

354+
> {tip} 当你在写 Markdown 格式邮件的时候千万不要有多余缩进,不然 Markdown 解析器很容易会把缩进的内容渲染成代码块。
355+
354356
#### 按钮组件
355357

356358
按钮连组件渲染一个居中的连接按钮,组件接受两个参数,一个 `url` 和一个可选的 `color` 。支持的颜色有 `blue``green` 、 和 `red` 。你可以在邮件消息体中加入随便多个你想要的按钮。

0 commit comments

Comments
 (0)