Markdown embedded images

Comments

33 comments

  • Avatar
    Jennifer Rowe

    Awesome! thanks for sharing, Evan.

  • Avatar
    Stephanie Au

    I've been using this trick A LOT. Thanks for sharing, Evan! 

  • Avatar
    Jennifer Bennett

    Great tip!  This works fabulously for including screenshots in Community responses as well. We create a new ticket for each community thread, and was struggling with a way to include screenshots in responses. Just perfect. :) 

  • Avatar
    Jennifer Rowe

    Stephanie and Jennifer--Glad to hear this is working so well for you. Thanks for letting us know!

    I've linked this tip from our markdown documentation so that hopefully more users can discover it too! :)

  • Avatar
    Justin Graves

    Hey all- just wanted to chime in here and remind everyone that this is a great solution but only if you have NOT enabled "Private attachments".  See attached for a screenshot where this is located (Admin > Tickets > Attachments).

    If you have it on like we do and you try to use this tip, your users will see the broken image icon (see attached) in their email message.

    As such, we who have "Private Images" enabled can still embed images inline, but we need to do it the old fashion way by hosting the images in a public Dropbox folder or something like that.

    Happy Zendesking,

    Justin

  • Avatar
    Jennifer Rowe

    Oh, that's really good to know. Thanks, Justin. I'll add a note to the article.

  • Avatar
    Adele Merkel

    Hey all!

    We want to embed images to our makros. Does it work the same way?

    We tried it by copying the link of the attachment in our makro, but our users get a broken image :( Any ideas? 

    Thanks a lot in advance

  • Avatar
    Arnaud de Theux

    Hi Adele

    It does work the same way. Simply create your macro and embed the markdown image code in it, like this:

    Screen_Shot_2014-08-18_at_11.16.36.png

  • Avatar
    Adele Merkel

    Thank you for your quick answer!

    Ok so we did this:

    We copied the link of the attachment to our makro, but after we used the makro the image is broken. 

    It works only if we use the makro, attach the file, copy the the link of the attachment and insert it to the

    We have not enabled Private Attachments :/

    Thank you :)

     

  • Avatar
    Arnaud de Theux

    Mmmh, I'll need to have a look. Could you either submit a Support ticket and give me the ticket ID here, or just give me your Zendesk domain and the name of the macro you created.
    Thanks

  • Avatar
    Adele Merkel

    #820819

    Thank you! 

  • Avatar
    Marat Z

    Instead of learning and using markdown, what about adding a button that says "INSERT IMAGE" and allows to upload an image or insert a link to it?

    I really enjoy the modern look of Zendesk interface and many of its features but these workarounds (markdown altogether) are so awkward and outdated.

  • Avatar
    Alwin

    I fully agree with Marat, The whole idea of markdown is old-fashioned. With such a great system as Zendesk, having to type underscores, stars, brackets to get 'nice' looking responses is very outdated.

    I hope Zendesk will add functionality once where we can create and receive HTML responses the normal way.

  • Avatar
    David Abramsky

    Thanks everyone for the posts.

    We just enabled Markdown for the "inline images" reason.  But after reading its limitations I have to agree with Marat and Alwin.  I think Zendek is behind the times if we have to use codes for text effects, as well as having a clunky system for including inline images.

    I'll stick with the attachments until the system evolves a bit more.

  • Avatar
    Brandon Chu

    A macros is quick response. It is natural to think that our responses will require images. Even if we have to host the images elsewhere the markdown too? Excessive :(

  • Avatar
    Serge Mak (Edited )

    Interesting tip

  • Avatar
    Akshath Sapalya

    It would be much simpler if a text editor like the one we have in communities is available in the public reply section.

  • Avatar
    Graeme Carmichael

    Akshath

    You may find it easier using the 'Insert Markdown' app available in the marketplace.

    This is offered as part of Zendesk Labs, so it is not supported. Please be sure to read the disclaimer.

  • Avatar
    Wouter van Gessel

    Hi Justin and Jennifer,

    We use this functin a lot. We did notice a problem, where images that were attached to the ticket and then inserted into the ticket via Markdown were not visible to end-users.

    Could you include the following tip in this article and possibly in the Zendesk article as well:

    Note: Make sure you right-click the attached image link and press Copy image URL. Do not click on the image link, which opens a new browser tab. The URL in the new browser tab will not work, as this includes a temporary token.

  • Avatar
    Jessie Schutz

    Hey Wouter! Thanks for the suggestion; I've passed it along to our Documentation team for review. :)

  • Avatar
    Nora Mullen

    Hi Wouter,

    Thanks for letting us know! I've updated the post with your note.

  • Avatar
    Cmedina

    The last note isn't clear enough.
    To get the "Copy Image URL" option, we do need to click on the image link to open the new browser tab, and then right click on the image, right? The note seems to contradict because it expect us to "Copy Image URL" (not Copy URL) but suggest not to open the image on a new tab, which AFAIK makes the first task impossible.

  • Avatar
    Jessie Schutz

    Hey @Cmedina!

    Sorry for the delayed response.

    In order to copy the correct image URL, you do need to open the attachment. So you would click on the attachment link in the ticket, which will open up the image in a modal box (not in a new tab):

    You don't have to open the attachment in a new tab, unless you want to. A regular left-click will get you where you need to go, though.

    Hopefully that clears things up! Let me know if you need anything else!

  • Avatar
    Nora Mullen

    @Cmedina, I've updated the note to make it more clear. Hope that helps!

  • Avatar
    Larisa Moore

    Is there any way to embed videos into ticket replies?

  • Avatar
    Janet Del Aguila

    @JessieSchutz. Just spit up my drink all over my monitor! Yassss to Jean-Ralphio. A thousand times yassss!

  • Avatar
    Wouter van Gessel (Edited )

    @JessieSchutz: Great photo! :)

     

    When we follow your description, it's not working. When we have a new ticket and attach an image (to be inserted via Markdown) there is no modal box.

    When we click on the image name, a new browser tab opens up - which will not work as this has a temporary token... 

    So, for us, it's best to right-click the image name and press Copy Image URL. I guess for others too?

  • Avatar
    Jessie Schutz

    Hey Wouter,

    Are you trying to open the link on the attachment before you submit the ticket? The instructions I gave are for after the ticket has been submitted.

  • Avatar
    Bobby Singh

    The only negative thing about this approach is that the inline image link expires after a certain time (I don't know the time line and whether the status also impacts this) and you end up with broken inline images in your tickets. :( 

  • Avatar
    Jessie Schutz

    Hey Larisa! I'm so sorry I didn't see this before!

    You can't embed a video in a ticket. You can either attach it, or you can host the video online and provide a pretty link using Markdown.

    Hope that helps!

Please sign in to leave a comment.

Powered by Zendesk