最近搜索


没有最近搜索

First Data Support (MG)'s Avatar

First Data Support (MG)

已加入2021年10月22日

·

最后活动2021年10月22日

关注

0

关注者

0

活动总数

6

投票

2

订阅

1

活动概览

的最新活动 First Data Support (MG)

First Data Support (MG) 进行了评论,

社区评论 Feedback - Help Center (Guide)

@RyanMcGrew,
 The code snippets that you mentioned are basic. Would be nice if Zendesk KnowledgeBase would support something like prism.js natively and not as part of additions to themes. 
Often, the person that tries to edit the knowledge base is not the person that is responsible for the theme of the knowledge base. 
In addition, these days,  when a code snippet is provided, there is a need to provide several tabs for different languages. 
For example, it is impossible to do an API Spec in Zendesk Knowledgebase. It doesn't look good. 

查看评论 · 已于 2020年5月16日 发布 · First Data Support (MG)

0

关注者

0

投票

0

评论


First Data Support (MG) 进行了评论,

社区评论 Feedback - Help Center (Guide)

The code block from Zendesk is not the same. it doesn't highlight code according to what programming language is used. all it does is to arrange the code in a distinct section. Hard to read the code in this way, especially when the code section is long.
also, there is no option to switch seeing a different code when a different programming language is used, 

查看评论 · 已于 2019年8月13日 发布 · First Data Support (MG)

0

关注者

2

投票

0

评论


First Data Support (MG) 进行了评论,

社区评论 Feedback - Help Center (Guide)

Best solution I found is to use Prism.js
https://prismjs.com/
Download the code from the Prismjs.com website. 
Then Zendesk Admin can inject the code of Prism.js and Prism.css files to the Zendesk Theme of their knowledgebase. 
As Admin go to the Knowledgebase. Edit Theme -> Edit Code
Open file: script.js. Insert the prism.js file at the end. click Publish
Open file: style.css Insert the prism.css at the end of the file. click Publish.
Now, you can insert code snippets using the guidelines from prism.js website.

However, it would be great if Zendesk dev team would incorporate Prism.js natively. Especially because the library was released under open source MIT license. 
https://github.com/PrismJS
The effort seems minimal. Maybe Product Manager can help here ?

查看评论 · 已于 2019年8月12日 发布 · First Data Support (MG)

0

关注者

1

投票

0

评论