In laravel, new markdown feature for mailing provides some components to customize mail. I like them. They are cool but how are they different from blade layout as long as I can do the same with normal blade layout.
Markdown email gives you a simplified syntax compared to HTML. For example:
h1
, h2
, etc. tags, you can just put a #
, ##
, etc. at the beginning of the line<ul>
, and list items in <li>
tags. In markdown, you can just use a dash ( -
) for listing elements*
/ **
around the text you want to emphasizeThe above, and other features of markdown can make your templates more readable.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.