Markdown image from cell

Hello, I have a column in my data called Image that is of type Attachment. Trying to render the image in the markdown widget (using Contract example). Tried the following:

![image text]({Image.[0]}) does not work (I have one image in the column)

![image text](upload://uYqEV9lmmtrQbqj83I5DQ6hlQt.png) works (from googling)

I am using the html example for my logo fine, it’s just the markdown examples I cannot get to work. Running local instance.

And bonus question: I’d like to display all images per row selected and not just one, but trying to get anything working right now.

Cheers

Hello @Evan_Buxton , unfortunately images in the markdown widget are not yet supported.

I tried adding support as an experiment, which you can try by adding a “Custom URL” widget with this URL: https://deploy-preview-134--boisterous-sunburst-a5c941.netlify.app/markdown/.

To specify an attachment as an image, instead of its URL, put {att=N}, where N is the numeric ID of the attachment, which you can get by copy-pasting an attachment cell into any text field.

Additionally, it adds support for “@WxH” as a prefix of the title attribute, to specify width and height of the image. Either may be omitted.

For example:

![Description]({att=1} "@100x50 Title...")

Feedback is very welcome, but please don’t rely on this, since the URL of this widget may not work for long.

I’m working on a custom widget that I’m calling “Simple Markdown”. The initial use case is for having super simple and short content on a page that you can easily update via the widget settings in the sidebar (I.e., no need to link it to a table column or a table at all). For example, a heading or quick note… Or in your case, an image. For this, I plan to use Showdown, which is a really awesome Markdown to HTML converter. It also supports images… Check out the demo link from their homepage.

This is a great start and I appreciate the response. I added an attachment column with an image, added a widget with your url and then added an attachment column. Copy/pasted the attachment and added the cell attachment id (20) and it indeed did show up. Nicely done. Love the added @WxH. Feedback: I anticipated being able to read the column [Description] with the attachments and then specify [0] for the first item. Unsure how I would have this just work if I have to manually add the cell attachment id but maybe that is a next step or not able to be done. In either case I do in fact have images showing in markdown without a url.

Interesting approach for sure. Nice find. I will keep this in mind for this and other ideas I have. Thank you!