A snip is the basic building block of information for vanilla-rb. Essentially, it is a piece of content with arbitrary attributes. Vanilla anticipates the presence of some key attributes:
name- the name of the snip, which is how it will be referred to. The
nameof this snip is snip.
content- the default part of the snip to render. You can see the
contentof this snip here.
render_as- the name of the renderer to use when rendering the content. The
render_asof this snip is
One implementation of the snip store is soup.