Snippets is an add-on for SkyBlue that allows you to add arbitrary bits of text or code to your site that do not neatly fit into any of the other managers for specific data types such as a gallery, links, case studies, etc.
When you create a Snippet (more on this later), the Snippets Manager will generate a unique token that you can then paste into your template or page text. When the page is rendered by SkyBlue, the token will be replaced with the content of the Snippet.
The Snippets add-on consists of two pieces: the Snippets Manager and Snippets Plugin. Each piece of code playes a different role.
Snippets Manager provides the interface for you to be able to create, edit and delete snippets.
The Snippets Plugin replaces the token with the Snippet content.
There are two types of Snippets: plain text and WYSIWYG (what you see is what you get).
Plain text snippets allow you to add raw text, HTML, CSS or JavaScript to your site.
WYSIWYG Snippets give you the familiar Microsoft Word-like editor that allows you to created styled text.
<span class="snippet" id="your_snippet_name"> { Your Snippet text here } <span class="link"> <a href="{ Your Snippet Link }"><span class="linktext">{ Your Link Text }</span></a> </span> </span>