Formatting text with Markdown

Return to top

21 Comments

  • Jarl Frode Arntzen

    @Nora Mullen

    How did you format this article so nicely? Is it just HTML, some WYSIWYG magic or markdown?

    0
  • Devan - Community Manager
    Zendesk Community Manager

    Hello @...,

    Out articles are a combination of custom code via WYSIWYG and HTML, along with some in-house tools we have at our disposal. I would recommend starting with this guide to implement some of our customizations in your articles. 

    Creating and editing articles in the knowledge base

    Best regards,

    0
  • Jarl Frode Arntzen

    @... 

    Thanks for the swift response.

    So, the pale yellow "Note" sections in the articles has been implemented through manually adding <div class="note note" > ... </div> around the relevant text? Or is there some way we can add custom buttons to the editor which allow the writers to insert such custom formatting by simply selecting the text and clicking the relevant button?

    I mean, manually adding such html tags is perfectly doable (we already have a custom theme and we have added the relevant CSS), but I'm just wondering if there's a way to make this even more user friendly for my co-workers.

    Thanks.

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Jarl,

    At this time there's no way to add custom buttons to the WYSIWYG editor in Guide natively. You may be able to set this up using custom code but you'd need to get your developers involved to help set this up.

    Let us know if you have any other questions!

    0
  • Jacob Allen Wood

    I've been de-bugging macros now for a week. Unfortunately, most of what is described above does not function in many situations.

    For example: getting 1 line after a header, before a list (bullets); getting 1 line between bullets (it's either 0 or 2, from every combination I can); getting block quotes to only block quote the content line, not every empty line above it. It's been really, really frustrating. 

    Could we get an update on this article that include putting elements together, like header followed by a list (spacing & syntax)?

    Getting 1 line between bullets, not 0 and not 2. (syntax)?

    0
  • Jiri Fait

    Hi,

    did anybody find out how to create Tables in Mardown then? I tried Liquid - not working, tried html - not working either... So I was wondering if anyone found any solution to this, we really need to add tables to our tickets but for various reasons cannot switch to Rich Text...

    Any help would be much appreciated!

    Cheers

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Jiri,

    Have you had a chance to look at our app marketplace? It looks like there's a Tables app created by Sparkly that will accomplish what you're looking for.

    I hope this helps!

    0
  • Jiri Fait

    Hi Brett,

    thanks for the suggestion but the App is useless if you have Markdown, it works only with Rich Text. We already tried and verified with the app developer. There seems to be no way how to add tables if you use Markdown... :(

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Jiri,

    Thanks for getting back to me! I did some testing with markdown and tried creating a table but it doesn't look like this is possible in Zendesk. I'd recommend creating a feedback post in our Support Feedback Topic for our product managers to review.

    I appreciate you taking the time to share this with us!

    0
  • Stacy Areas

    Currently I am using rich text and would like to move over to markdown. I'm seeing once markdown is enable all preexisting macros are not convert and are messy looking. Is there a way to have this convert easily or would I need to update macros manually?

    0
  • Edgar Comper

    Hi Stacy,

    When you enable the Markdown option under Admin > Settings > Tickets, you must enable the 'Include plain text fallback' option to prevent your existing macros from being messy. (learn more here https://support.zendesk.com/hc/en-us/articles/115001236988-Creating-macros-for-tickets#topic_o1b_myd_yy).

    Unfortunately, there is no way to bulk enable this option. This must be done manually.

    Edgar | Technical Support Engineer | EMEA

    0
  • Nick Vincent-Maloney

    Where is strike-through?

    0
  • Brett Bowser
    Zendesk Community Manager

    Hey Nick,

    Great question!

    I did some testing on my end and it doesn't look like strike-through is supported when using markdown which explains why it's not documented here.

    Let us know if you have any other questions.

    0
  • Nick Vincent-Maloney

    Confirming it's not there is the first thing I did. I'm asking where it is, because it's silly it's not there. I never understand why companies choose to not implement certain things. I suppose there might be a good reason (though I' dubious about this), but sheesh...

    0
  • Hi, I want add an image like this but 2 links at same time. I will click to image, and i will go two link at same time. Is it possible? How can I do it?

    ![Optional alternative text if image doesn't load](http://www.sampleurl.com/logo.png)
    0
  • Amie

    Hi Umat,

    What you're trying to do isn't currently possible with Markdown in Zendesk. 

    Best,

    Amie

    0
  • Chris Fassano

    The CKEditor was enabled in our account (we use Agent Workspace). I noticed that the syntax isn't rendered when it's copy & pasted into the comment field.  Is that expected behavior?
     

    0
  • Jonas Jansson

    We are creating tickets via the API zendesk.com/api/v2/tickets but we have to use an agent and use it with submitter_id for markdown to take effect otherwise the markdown formatting is just presented in plain text ... is there another solution for it to work?

    The above sulution unfortunately disables SLA policies

    0
  • Gab Guinto
    Zendesk Customer Care

    Hi Chris,

    That's right, it is the expected behavior. The composer will only render markdown texts when manually entered or typed into the comment box and not when pasted from the clipboard.

    I've seen discussions about plans to improve this behavior in the future, but there's no ETA yet at this time. I recommend that you to follow Zendesk’s release notes to be notified of product enhancements as they are released.

    Thanks Chris!

    0
  • Gab Guinto
    Zendesk Customer Care

    Hi Jonas,

    Since end-users actually don't have the ability to use Markdown in their comments, the text will not be rendered if the submitter or author id passed along with the api call is an end-user. Markdown will be respected only if you use a staff member's user ID as update/comment author. I'm afraid that there is currently no workaround for this.

    Alternatively, you can use html formatting instead of markdown. Html tags for text formatting should work for end users.

    Thanks Jonas!

    1
  • prakash.sati

    Hello, 

    Is there a code for Vertical rule line as well?

     

    0

Please sign in to leave a comment.

Powered by Zendesk