Vanilla framework documentation


Vanilla gives you two ways to display code using the standard HTML elements.

Inline code

When you refer to code inline with other text, use the <code> tag.

Code block

If you want to refer to a larger piece of code, use <pre> together with the <code> tag.

View example of the base code block