Stillfinder's avatar

Upload/Add images to Laravel Markdown

Hi guys,

I am using GrahamCampbell / Laravel-Markdown as my blog post editor. Everything is fine, I really like it, but I need to upload images and insert them into the content of my articles.

Maybe someone has any ideas on how this can be done, or have encountered a similar task before?

Thank you for any help.

0 likes
1 reply
Braunson's avatar

That package is just a Laravel wrapper for the CommonMark package which is just a Markdown parser. While it supports embedding images in Markdown, it does not provide a UI to upload images. That would be up to you to add a UI into your editor interface to upload images and return the link and/or inject it into the editor's textarea or however you set it up in Markdown Format:

![Image](imageLink)

Please or to participate in this conversation.