image for site

Adding Strikethrough Text in Zendesk Articles

Learn how to add strikethrough text in Zendesk articles using safe HTML and CSS for consistent display.

How can I add strikethrough text in Zendesk articles?

To add strikethrough text in Zendesk articles, you can use safe HTML and CSS. While the<strike>tag is available, it might not always display correctly due to security settings.

Instead, create a CSS class for strikethrough text in your help center theme's style.css file:.strike-through { text-decoration: line-through; }. Then, apply this class to your text using HTML:<div class="strike-through"><p>Strike-through via CSS</p></div>. Note that the strikethrough effect will only appear in the published article, not in the editor.


More related questions

How can I format text using HTML in Zendesk articles?

You can format text in Zendesk articles using HTML tags through the Source code option in the article editor toolbar. This feature allows you to apply various HTML tags to enhance the appearance of your text. Some common HTML tags you can use…

What HTML tags can I use in Zendesk articles?

Zendesk allows you to use a variety of HTML tags to format your articles. These include blockquotes, pre-formatted text, headings, superscript, subscript, strikethrough, indentation, in-line code, and highlight. For instance, to create a heading,…

Why isn't my HTML displaying correctly in Zendesk articles?

If your HTML isn't displaying correctly in Zendesk articles, it might be due to using 'unsafe' HTML tags or attributes. Zendesk has a defined set of safe HTML elements, and anything outside this list may be stripped out unless you enable the…

How do I add a clickable phone number in a Zendesk article?

To add a clickable phone number in a Zendesk article, you can use the anchor tag with a 'tel' link. This allows users to click the number and dial it directly from the article. Here's how you can do it: open the source code of your article and…

Can I embed videos from non-supported providers in Zendesk articles?

Yes, you can embed videos from non-supported providers in Zendesk articles by using HTML code. While Zendesk doesn't provide specific instructions for every provider, you can use the source code editor to insert the necessary HTML. For example, you…

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