I had ordinary Mailable that had some hardcoded content.
I've published mailable views, changed content to markdown and replaced ->view with ->markdown.
Now mail have nicely formated markdown.
However Laravel after compiling that markdown will pick HTML component definitions, for reasons I can not phantom. And that after it used Markdown version for message, so it's mixing both kinds in a single Mailable markdown view!
I've tried:
php artisan cache:clearphp artisan view:clear- adding markdown to html components - wont work, Laravel use them past markdown compilation step
- changing
->markdownto->markdown- yes it will give error about unexisting method
Using: PHP 7.0, Laravel 5.4.28
Q: Is there any Laravel global setting that would override ->markdown call? Any other ideas what may be wrong?