首次在Markdown
项目中使用Laravel
,并且渲染效果不理想。
这是我的Markdown
@component('mail::message')
![{{ config('app.name') }}][logo]
[logo]: {{ asset(config('app.vars.logo_small')) }}
Subscription payment failure!
@component('mail::table')
| | |
| ---------------- | -------------------------------------------------------------------------- |
| Charge: | {{ $payment->stripe_currency }} {{ $payment->charge_fmt }} |
| Card: | {{ $payment->stripe_card_brand }} |
| Last 4: | {{ '∎∎∎∎ ∎∎∎∎ ∎∎∎∎ ' . $payment->stripe_card_last4 }} |
| Expiry: | {{ $payment->stripe_card_exp_month }}/{{ $payment->stripe_card_exp_year }} |
| Description: | {{ $payment->stripe_description }} |
@endcomponent
We tried to bill your subscription but were unable due to unavailable funds.
@endcomponent
但是它呈现如下:
LOGOIMG
Subscription payment failure!
<div class="table">
Charge: usd $10.42
Card: mastercard
Last 4: ∎∎∎∎ ∎∎∎∎ ∎∎∎∎ 4444
Expiry: 4/2044
Description: App Data plan - Regular - 28/04/2019-28/05/2019
We tried to bill your subscription but were unable due to unavailable funds.
为什么显示<table>
HTML
标签。谢谢。