If you have already typed content in your topic and want to turn that content into a snippet, you can create a snippet out of that existing content using the Home ribbon or Format menu. You can then insert the snippet into other topics where you want it to appear.
[Menu Proxy — Headings — Online — Depth3 ]
How to Create a Snippet
- In the XML Editor select the content you want to turn into a snippet.
- In the Home ribbon, select Create Snippet.
Give the snippet a name and choose a folder location to store it.
It is recommended that you leave the project folder selection as "Resources/Snippets" (or select a subfolder that you have created in the Snippets folder). After the snippet is created, you can see the snippet file in the Content Explorer.
If you want the snippet to replace the highlighted content, select Replace Source Content with the New Snippet.
Why would you leave this box unchecked? Let's say you want to create two snippets and they are going to be very similar. You might create the first snippet, make a few changes to the text within the dialog, and leave this box unchecked. That snippet is created but not inserted into the topic. Then you can create the second snippet with this box checked. Flare will both create the snippet and insert it into the topic, replacing the highlighted text.
- Click Create. In the XML Editor, the snippet is surrounded by brackets (if markers are turned on).
Click to save your work.
After you create a snippet from existing content, you can insert it into any other topic in your project. See Inserting Snippets.