Question
How can I use the Source code () option in the help center article editor toolbar to format the text of my article?
Answer
You can use the help center article editor toolbar to format your articles. The Source code feature lets you apply HTML tags to enrich the formatting of your text.
Find below a list of HTML tags you can use in your articles.
Blockquotes | <blockquote>block quote text here</blockquote> |
Pre-formatted text | <pre>pre-formatted text here</pre> |
Headings | <h1>header text here</h1> (h1 biggest, h6 smallest) |
Superscript | <sup>superscript text here</sup> |
Subscript | <sub>subscript text here</sub> |
Strikethrough | <strike>strikethrough text</strike> |
Indentation | <p style="padding-left: 30px;">Indented text here</p> (modify the # of pixels (e.g., 35px) to change the indentation amount) |
In-line code | <code>snippet here</code> |
Highlight | <mark>highlighted text here</mark> |
The screenshot below shows how the HTML above renders text in the help center.
This is not a complete list of all the HTML elements you can add to articles. However, it represents the most common use cases. If your HTML tags and attributes are not displaying correctly, you may need to adjust your settings. For more information, see the article: Allowing unsafe HTML in help center articles.
For more information on creating and editing articles in your help center, see the article: Creating and editing articles.