About Snippets

A snippet is an important file used for single-sourcing that acts sort of like a miniature topic. In a snippet, you can insert and format text, tables, pictures, and whatever else can be included in a normal topic. We’re not usually talking about single words or phrases; that’s what variables are for. A snippet can be inserted into one or more topics throughout your project. You can even insert them into other snippets, creating nested snippets. 

The major benefit of using snippets is that you only have to create your content once, rather than having to type the same information in each topic where you want to use it. If you need to modify the content of a snippet, you only need to change it in one place and the change is made automatically everywhere that the snippet is added.

Snippets are contained in their own files (using an .flsnp file extension). You can therefore share them with other authors or use them in other projects. If you insert a snippet that is stored outside of your project, the file is copied to your project. The traditional location to store a snippet in the Content Explorer is in the Resources\Snippets folder. However, you can store it anywhere in the Content Explorer that you like.