You are here: Features > Snippets > About Snippets

About Snippets

Snippets are pre-set chunks of content that you can use in your project over and over. They are somewhat similar to variables. The difference between variables and snippets is:

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. Snippet files are stored in the Content Explorer, within the Resources\Snippets folder.

Text and block snippets

You can create a text snippet or a block snippet. This is determined by the way you insert the snippet. If you insert a snippet on a blank line in a topic, it is inserted as a block snippet and takes up all of the room so that no other content can be added. If you insert a snippet on a line where other content exists, it is inserted as a text snippet. Therefore, if you want to insert a snippet on a blank line and also type other text before or after it, you need to type the text first and then insert the snippet afterwards. Also, if you have a snippet containing multiple paragraphs and insert it within a line of text, the snippet becomes just one continuous line of text because it is a text snippet.

When you create a text or block snippet, it displays surrounded by brackets (if you have markers turned on). Show me…

Condition tags and snippet conditions

You can apply a condition tag to a snippet so that it is included in some targets but not in other targets. See Applying Condition Tags to Content.

You can also create snippet conditions. Snippet conditions are condition tags that you can apply to content within snippets. With snippet conditions, you can separate certain snippet content so that it displays in some topics or master pages but not in others. This allows you to use one snippet for many purposes, rather than having to create multiple snippets. Whereas regular conditions are included or excluded at the target level, snippet conditions are included or excluded at the topic or master page level. See Using Snippet Conditions.

Tasks for Using Snippets 

Following are the main tasks involved with using snippets.

See Also

Downloads (PDF Format):

Flare Quick Guide

Flare Getting Started Guide

Flare What's New Guide

Flare Key Features Guide

Flare Transition From RoboHelp Guide

Flare Transition From FrameMaker Guide

Flare Styles Guide

Flare Printed Output Guide

Flare Shortcuts