Reference an asset in blog post?

EDIT: LOL! I see the image icon in the markdown preview. Sorry about that! :slight_smile:

Hello,

I’m testing out Cockpit for use with Nuxt, and I’m using the ‘posts’ as a sample collection.

Is it possible to reference an uploaded asset inline in the markdown?

In other words, something like:

![alt text](/img/my_file_name.jpg)

1 Like

But you’re right you can’t insert an asset directly. Right now it uses the finder dialog to browse the file system. I’ll enhance the markdown editor so you can also add images/files from assets.

1 Like

insert assets in markdown fields was added in this commit: https://github.com/agentejo/cockpit/commit/3f46fc72bd8a77b383280e2b7ff8eb5ca8b2af48

please update to the latest next branch codebase

1 Like