Inline code formatting in Zendesk communities
已于 2017年8月09日 发布
Code blocks are highlighted HTML <pre> blocks in Zendesk community forums posts and comments, but it always comes with a line break.
Would it be possible to support <pre> without a line break (aka inline pre) from Zendesk side? If we copy-paste the inline pre from some other place, it works great, but no way to add it in Zendesk's editor.
Thanks!
13
29
29 条评论
Nick Bolton
This is easy to do: click the code button and use the `<code>` tag instead of `<pre>`.
Zendesk just didn't add a WYSIWYG button for it, but the HTML tag still works.
0
Mario
Another vote for this feature.
Right now, I'm copying and pasting the inline code formatting from other articles when I need it, but it's a hassle.
1
Tannaz Sassooni
Just a plus-one to this request. It's been six years since the original request, and it's an extremely common need for technical documentation to be able to have inline code formatting. As others have mentioned, it's notable that it's available in tickets (via markdown, single backticks), but in Help Center, arguably a more formal communication platform where formatting is even more important, this simple functionality is not supported.
I know we can create a style in our template to support this, but it's *extremely* tedious to have to modify html every time we stick a file or folder name in our documentation, and that comes with the limitation that the formatting wouldn't show up in the WISIWYG editor, only the published article, which is super confusing.
0
Hiedi Kysther
I'm afraid that we are currently not able to support this functionality However, I do agree that it would be a nice feature to have, and I'm happy to pass your feedback to our Voice of the Customer team for further discussion.
Please feel free to let me know if I can help with anything else!
Cheers,
0
Matthias Miltenberger
Has there been any progress regarding the inline code formatting? It's a shame that this is still not possible with the only (lackluster) workaround being to use LaTeX math mode and specify the "code" in typewriter font to distinguish this from normal text.
\(\texttt{this is not code}\)
edit: oh, it seems you also still don't support LaTeX/MathJax by default...
1
Matthias Miltenberger
Apparently, this has been fixed in the meantime and the code blocks button also appears in the edit dialog. Thanks!
0
Matthias Miltenberger
Thanks for the update, Kasper! It seems that the button just moved from within the "T" submenu to the main toolbar, right? While this is nice and all, you seem to have forgotten to add the new top level button to the "edit" form:
Now, there is no way to add the code format to existing posts. Please fix this.
Thanks, Matthias.
0
Maggie Ungerboeck
That's great news Kasper! Thanks for the update!
0
Kasper Sørensen
Hi all,
As of today we have made code blocks available in the community content editor. See the new icon in the toolbar. Here's a code block for ya, which might also help locate the icon :-)
1
Nicole Saunders
Thanks for adding your voice and vote to this request, Joakim!
0
登录再写评论。