image for site

Code Block vs. Code Span in Zendesk

Learn the difference between code block and code span in Zendesk. Use code block for longer snippets and code span for inline code.

What are the differences between code block and code span in Zendesk?

In Zendesk, a code block is used for longer snippets of code, while a code span is for highlighting a single line or piece of code. This distinction helps in organizing and presenting code more clearly within your comments.

Using a code block is ideal when you need to share multiple lines of code, as it maintains the structure and readability. On the other hand, a code span is perfect for inline code references, making it easy to highlight specific commands or syntax within a paragraph.


More related questions

How can I format text using keyboard shortcuts in Zendesk?

You can easily format text in Zendesk using a variety of keyboard shortcuts. For example, to make text bold, you can useCtrl + Bon Windows or⌘ + Bon Mac. Similarly, to italicize text, useCtrl + Ior⌘ + I. These shortcuts help…

Can I change text color in Zendesk comments?

Yes, you can change the text color in Zendesk comments, but it's only available in the Agent Workspace. This feature is not accessible in the Macros editor or Slack side conversations. Changing text color can help emphasize important information or…

Is it possible to add tables in Zendesk comments?

Yes, you can add tables to your comments in Zendesk by using the rich text editor. However, to do this, you need to install the Tables app. Tables can be a great way to organize information and present data clearly within your comments. Once the…

Can end-users use text formatting in Zendesk support tickets?

End-users have limited text formatting options when submitting comments in Zendesk support tickets. They can use basic formatting like Paragraph Style, Bold, Italic, Bulleted List, Numbered List, Code Block, Insert/Edit Link, and Quote. However,…

Are there any text formatting options not available in Slack side conversations?

Yes, certain text formatting options are not available in Slack side conversations within Zendesk. These include increasing or decreasing heading styles, changing text color, decreasing or increasing paragraph indentation, and adding hyperlinks….

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites