bugy / script-server

Web UI for your scripts with execution management
Other
1.6k stars 249 forks source link

image file in json #519

Open antonellocaroli opened 2 years ago

antonellocaroli commented 2 years ago

Hi,

is it possible to insert an image in the json file? in the description? if so, how?

bugy commented 2 years ago

Hi @antonellocaroli I'm not sure if it's fully supported by markdown. The only way I found is to display an image, which has public URL available: ![](HTTP://some.public.url/image.png) If you are using a reverse proxy, you can get use of it

Or, if the image is not huge, you could try using embedded base64 images: https://superuser.com/questions/1199393/is-it-possible-to-directly-embed-an-image-into-a-markdown-document

antonellocaroli commented 2 years ago

Hi @bugy , thanks. the syntax you suggest also works with a local file. thanks