Formatting text with Markdown Follow

Comments

59 comments

  • Avatar
    Nicolas Fouquet

    Hi, we are preparing a ticket form with dynamic content to duplicate it in multiple help centers. Could a link be clickable on the "Description (optional)" of a ticket field? We put a dynamic content in it with the classic link but it doesnt seem to work...

  • Avatar
    David Podmore

    Like Andrea - I believe tables in markdown would be a valuable addition! I'm off to find that feature request… +1

  • Avatar
    Graeme Carmichael

    David

    Markdown looks like it is going out of fashion at Zendesk. Check out this section:

    https://support.zendesk.com/hc/en-us/community/topics/200285197-Zendesk-Beta-Rich-Outbound-Comments-for-Agents

    This will allow agents to paste tables into tickets and allow text formatting without preview or learning Markdown.

  • Avatar
    Jake Bantz

    @Mercedes,

    Markdown is not supported in Triggers and Automations, but you can use HTML.

    Let us know if anything else comes up.

  • Avatar
    David Podmore

    Hi Graeme,

    I saw that shortly after posting the above comment :) Looking forward to it rolling out!

  • Avatar
    Tomás Girardi Julio

    It would be great to have support for markdown tables. They are very useful

  • Avatar
    Laura D.

    Hi Tomás,

    You might be interested a beta we are currently running that adds a WYSIWYG editor to tickets -- this editor will support tables. You can find out more about it here: https://support.zendesk.com/hc/en-us/community/topics/200285197-Zendesk-Beta-Rich-Outbound-Comments-for-Agents

  • Avatar
    Tomás Girardi Julio

    Sorry Laura but we are not very interested in that feature. We use markdown because of the speed and we want to continue using it. I think that the new Rich Comments feature you mentioned could be a threat to markdown (developers start focusing on that feature and markdown support is left behind or even dropped), so I'm not very excited about it

  • Avatar
    Jonathan March

    While I would not be as emphatic as Tomás, I agree that Markdown does have some real efficiency and maintenance advantages over WYSIWYG HTML. Also, I'd be very reluctant to switch to a WYSIWYG editor as ill-behaved as the current HC HTML editor (though it is an improvement over the execrable Forum editor which preceded it, so the trajectory is good!)

  • Avatar
    Jessie Schutz

    Hey guys!

    I did some checking on this and here's what I was able to find out: If you add Markdown to the ticket on it's own (ie: through cut/paste, text expander, etc) it will not render properly in the WYSIWYG editor. However, if you add the Markdown to your ticket using a Macro, it will render correctly - it gets converted to HTML before it's applied to the ticket. So Markdown will be supported in that context. I'm also a big fan of Markdown over WYSIWYG, so I understand your concerns. Hopefully that helps to ease your minds a little bit!

    Please let me know if you have any other questions!

  • Avatar
    Chris Swinney

    I have a very real need to use Outlook as a mail client to send support email via ZenDesk due to my accessibly software to support my dyslexia, so I do not want to use the Web Interface where possible. I would dearly love to see formatting preserved from Outlook (and other email clients) to the end customer, and better integration with these email clients.

  • Avatar
    Ellie Elstob-Wardle

    How can I use markup to display the first and last elements of a nested dropdown selection but without the :: in there? I have a custom field that I pull through to certain macros- this dropdown field contains information nested in the following format-Company name::Site. I would like the macro to pull from this field and display the following format in text- Company Name Site (without the ::) but I can't seem to create this (I have it set up to display the last selection from a custom dropdown field in other areas of the macro but I can't seem to add both the first and last in that format). Can someone help me please? Many thanks.

  • Avatar
    Graeme Carmichael

    @Ellie Elstob-Wardle

    You cannot remove the :: characters using mark down discussed here. But you can using Liquid Markup (confusing isn't it?) Liquid is discussed here:
    https://support.zendesk.com/hc/en-us/articles/203660966

    In your macro, you will already have discovered how to find the custom field value:

    {{ticket.ticket_field_option_title_24724112}}
    

    Where 24724112 is the custom field ID found on the edit custom field screen.

    Remove the offending :: characters and replace with a single space with Liquid as follows:

    {{ticket.ticket_field_option_title_24724112 | replace:'::',' '}}
    
  • Avatar
    Ellie Elstob-Wardle

    @Graeme

    Thanks- that's great! Ah yes, still confusing markdown and Liquid markup obviously. This was really helpful, thank you.

  • Avatar
    Joel Buaron
    anyone able to figure out how to resize the image url? I can link the image and its URL but its too huge so i wonder if there is a way to resize it
  • Avatar
    Jessie Schutz
    Hi Joel! When you're adding the URL to your markdown the length of the URL isn't really going to matter because the image itself will render in the ticket. However, if you still want to shorten your URLs, I'd recommend checking out some third party URL shorteners.
  • Avatar
    James Green

    Hi, Can you change the size of text using Markdown? Thanks!

  • Avatar
    Erin Boyle

    Hi James,

    You can use the header formatting options (on both Markdown and the rich text editor in tickets), but there's no way to change the size of the normal paragraph font, no.

    Best,
    Erin

  • Avatar
    Jonathan March

    @Erin, @Jessie:

    Triple-quoted code blocks on the website have stopped wrapping again (they truncate). They still seem to be wrapping ok in notification emails.

    If you need to see an example, please feel free to look at our ticket 62399.

  • Avatar
    Madison Davis

    Hey Jonathan, I'm going to open a Support ticket on your behalf so we can dig a little deeper on this one. We'll follow up there shortly!

  • Avatar
    Jonathan March

    Thanks, Madison. For the record, my bug report was rejected "Working as Designed". I've opened a feedback thread here:

    "Code blocks no longer wrap online -- good or bad?"

    https://support.zendesk.com/hc/en-us/community/posts/209424478-Code-blocks-no-longer-wrap-online-good-or-bad-

    and would welcome input from other users.

  • Avatar
    Brad Harris

    I'm setting up some macros and the first line is:

    # Product Repair

     

    The problem I'm having is that it is putting a line space above the heading line.  Is there a way to not have that line...?

  • Avatar
    Jessie Schutz

    Hey Brad!

    Can you post a screenshot of what you're putting in the macro, and how it looks when applied? I'm not sure I understand what you're describing.

  • Avatar
    Jonathan March

    Hi Jessie,

    Just noticed what must be a very new bug in markdown rendering. After a bulleted or numbered indented list, the expected blank line is omitted before the following paragraph. My ugly short-term workaround is to insert a paragraph containing only a single period character. Thanks!

  • Avatar
    Mayra Pacheco

    Thanks for the heads up @Jonathan. We're looking into it. Looks like the margin was removed there by another change that over applied. 

  • Avatar
    Patrisha Renz

    Ditto to what Jonathan said. Hope this gets fixed soon.

  • Avatar
    Jonathan March

    FTR, ZenDesk devs (via support) suggested a better workaround: beginning the following paragraph wtih a line containing ` `. I had forgotten that HTML special chars are  usable in Markdown, so that works great.

  • Avatar
    Patrisha Renz

    Thanks Jonathan!

  • Avatar
    Jessie Schutz

    Thanks for coming back and sharing that, Jonathan!

  • Avatar
    Mayra Pacheco

    @Jonathan @Patrisha we just released a fix for this issue with ol/ul margins missing in markdown.

Please sign in to leave a comment.

Powered by Zendesk