Inline code formatting in Zendesk communities

20 Commentaires

  • Tom

    As discussed here: https://support.zendesk.com/hc/en-us/community/posts/222554808-Help-Center-Formatting?page=1#community_comment_115005136628

     

    You're using a stripped down TinyMCE editor which I like. TinyMCE has a new excellent official code sample plugin.
     
     
    The menu item looks like this: Inline image 1
     
    Give it a try - it's excellent and it offers syntax highlighting via prism.js
     
    It would be a relatively small amount of developer time to implement this on Zendesk Help Center and would be a huge win for Zendesk customers writing articles with code samples.
     
    6
  • Matt Bailey

    +1 Please implement this.

    2
  • Chun Lee

    +100, this works in support tickets, why can't it work in the help centre

    1
  • Greg Williams

    +100 Absolutely

    1
  • Thomas

    Yes, definitely. This is blocking us from migrating to help center

    1
  • Maria McDowell

    +1 as this is a major blocker for us using ZD Guide.

    0
  • Nicole S.
    Zendesk Community Team

    Hi all - 

    Are you all looking at this functionality specifically for the Community platform, as indicated in the original post, or more broadly for Knowledge Base articles? 

    1
  • Thomas

    For KB articles

    0
  • Maria McDowell

    Sorry, in KB articles. Is there a separate feedback thread for adding code snippets to KB?

    0
  • Nicole S.
    Zendesk Community Team

    Hey Thomas and Maria - 

    One solution for how to do this is via Github Gists. How to use them is explained in this Community thread:

    Putting code into articles

    The appropriate Product Feedback thread for you to add your comments and votes to is this one: 

    Help Center article editor needs to support (easy) source code formatting 

    0
  • Maria McDowell

    I am aware of this method. However, this it is labor intensive and really only makes sense for large blocks of code. As a technical company, we use code snippets and 'preformatted' text all throughout our docs. Adding a gist for each one of these is simply a poor use of time. We simply need a button for preformatted, and ideally, one for longer code blocks.

    0
  • Tyler Regas

    Not to be entirely salty here, but how can so much time pass and even the most basic of documentation formatting functionality remain unactivated in TinyMCE, a web-based editor that is WELL KNOWN to support these features? You've got a number of people here who are asking that a minor change is made to the ZD Guides editor interface (count me among them) to surface functionality that TinyMCE offers already! How can you just ignore that? 

    Please. I've got a ton of documentation that I need to migrate into ZD and it's gotta be readable and functional, and so far, the less-than-minimal formatting options available just won't cut it. I'm using Gist to get code blocks and there's just NOTHING else!! 

    The only reason someone doesn't do something that would benefit others is that NOT doing it benefits them. 

    I truly hope that this isn't true. 

    0
  • Nicole S.
    Zendesk Community Team

    Hey Tyler - 

    If you're looking for this functionality for Community posts, it is not planned to be implemented. If you're looking for it for Knowledge Base posts, you should contribute to this thread: 

    Help Center article editor needs to support (easy) source code formatting 

    0
  • Omri

    I simply edited the html to add this style to code blocks:

     style="background-color: #eee;border: 1px solid #999;display: block;padding: 20px;"

     

    0
  • Peter Watt

    Adding my request to this chain. We are setting up developer documentation and the ability to add code blocks would help immensely.

    1
  • Nicole S.
    Zendesk Community Team

    Hi Peter - 

    Are you looking for code blocks in your Community or in your Knowledge Base? 

    If you're looking for it in the Community, no further developments are planned for the Communities platform. 

    If you're looking for it for your Knowledge Base, please contribute to this thread: 

    Help Center article editor needs to support (easy) source code formatting 

    2
  • Adam Reid

    Hi Nicole,

    We just migrated our Discourse forum into help center community, we are a technical company and have noticed that we and our customers need code blocks within the community GUI. 

    Do you know if there is anything on the roadmap to make community a more robust platform?

    0
  • Nicole S.
    Zendesk Community Team

    Hi Adam -

    Yes, there are several things on the roadmap around improving the community. I can't speak to code blocks specifically, but I will check in with the product managers to see if this is something under consideration for the near future.

    0
  • Joakim Eide

    Hi Nicole,


    Would also like to request Code Blocks / Inline Code Blocks for the text editor in the Knowledge Base. We're also a tech company and not being able to easily add some inline code block using say ```This``` has become a huge hassle for us.

    0
  • Nicole S.
    Zendesk Community Team

    Thanks for adding your voice and vote to this request, Joakim!

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk