Ampersand - myles/jekyll-typogrify GitHub Wiki

Surrounded an ampersand (i.e. &) with a <span> with a styled class.

Input:

<p>{{ "this & that" | amp }}</p>

Output:

<p>This <span class="amp">&amp;</span> That</p>

Example CSS:

.amp {
    font-family: serif;
    font-style: italic;
    color: #a9a9a9;
}
⚠️ **GitHub.com Fallback** ⚠️