# Reference an asset in blog post?

**URL:** <https://discourse.getcockpit.com/t/reference-an-asset-in-blog-post/25>\
**Category:** Support\
**Created:** [April 25, 2018, 7:11pm UTC](https://discourse.getcockpit.com/t/reference-an-asset-in-blog-post/25 "2018-04-25T19:11:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cschweda](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/cschweda/32/16_2.png) [@cschweda](https://discourse.getcockpit.com/u/cschweda)\
**Post date:** [April 25, 2018, 7:11pm UTC](https://discourse.getcockpit.com/t/reference-an-asset-in-blog-post/25/1 "2018-04-25T19:11:28Z")

</div>

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

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)`

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [April 25, 2018, 7:16pm UTC](https://discourse.getcockpit.com/t/reference-an-asset-in-blog-post/25/2 "2018-04-25T19:16:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [April 25, 2018, 8:43pm UTC](https://discourse.getcockpit.com/t/reference-an-asset-in-blog-post/25/3 "2018-04-25T20:43:22Z")

</div>

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

please update to the latest next branch codebase
