Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Deekshith's avatar

Laravel easyMde/simpleMde video embed code not displaying with parsedown

I am using simpleMDE/easyMDE editor with laravel as markdown editor and using parsedown package to display the content. and i did copy paste the youtube embed code but in blade file it is displaying the code of iframe directly,

In db it stored like below,

<iframe width="956" height="538" src="https://www.youtube.com/embed/a3ICNMQW7Ok" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Check this

i have used below code to display the content,

<p class="mt-3">
{!! $parsedown->text($post->message)  !!}
</p>
0 likes
1 reply
mehdi9500's avatar

{!! \Illuminate\Mail\Markdown::parse(post->message) !!}

Please or to participate in this conversation.