laravel markdown different message template and layout
 In Laravel, you can use different message templates and layouts for markdown emails by creating separate markdown views and passing different data to each view. Here's an example of how you can do this:

1. Create separate markdown views for each message template. For example, you can create a `welcome.blade.md` file for the welcome email and a `password-reset.blade.md` file for the password reset email.

Inside the `welcome.blade.md` file, you can define the layout and content for the welcome email:

```markdown
@component('mail::layout')

{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
@endcomponent
@endslot

{{-- Body --}}
Welcome to our application!

@component('mail::button', ['url' => config('app.url')])
Get Started
@endcomponent

{{-- Footer --}}
@slot('footer')
@component('mail::footer')
&copy; {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
@endcomponent
@endslot

@endcomponent
```

Inside the `password-reset
To use different message templates and layouts in Laravel, you can create a folder called "resources/views/errors" and put your custom templates and layouts in this folder. Then, in your application, you can use the "errors/view" helper to render the appropriate view for the error. For example, if you want to display a custom template for a 404 error, you can use the following code:

\begin{code}
$error = Errors::view('errors.404', [], 404);
\end{code}

This will render the 404 template in the "errors" folder with the given parameters.