tagline | resources | ||
---|---|---|---|
The examples in this page serve a dual purpose: They act as unit tests, making it easy to spot bugs, and at the same time demonstrate what Prism can do, on simple and on edge cases. |
|
p { color: red; }
{ .language-css }
p { color: red; }
p { color: red; }
p { color: red; }
p { color: red; }
{ .lang-css }
p { color: red; }
No language, should inherit .language-markup
<p>hi!</p>
No language, should inherit .language-markup
<p>hi!</p>
{ .language-* }
Should not be highlighted.
<p>hi!</p>
{ .language-none }
{% for id, language in languages -%}
{{ language.title }}
{% endfor %}