Advanced article customizations

Learn how to complete some more advanced customizations, including adding automatic article tables of contents, expanding sections, and more.

Articles

Create an article table of contents (TOC) from headers
Learn how to use a script to automatically generate an article table of contents based on headers.
Create expanding/collapsing sections in an article
Learn how to use scripts to create accordion expanding/collapsing sections of content in your articles.
Adjust line spacing
Change the default line spacing/line-height of content in your articles using global Custom CSS.
Format numbered list spacing and borders
Use Custom CSS to change spacing before lists and between list items.
Customize nested numbered list styles
Use custom CSS styles to globally set how your nested numbered list items display.
Update your article actions merge code
Update your Article Custom HTML template to use the article-actions merge code template.
Conditional content based on tags
Learn how to use a script to display snippet contents based on the tags added to an article. This requires some coding skills but can be a great add-on to your knowledge base.