Snippets
Snippets are edited from the Snippets tab in the Radiant administrative interface. When you select the *New Snippet * button you’ll be presented with a form where you can give the snippet a name and some body text. The same naming restrictions apply as for layouts. Body text is relatively straightforward—you can select a filter from the drop-down menu underneath the body text if you want Textile or Markdown support. A snippet should be written in a language appropriate for the content-type asserted by the layout that includes it, or layout used by a page that includes it – Textile or Markdown filter use implies the snippet will always be part of an [X]HTML document, though it’s conceivable that you might be serving, say, plain text, and deliberately use the filter as an example of generated markup for part of a wider technical document.
