Open briankoser opened 9 years ago
<abbr>
$(document).ready(function() { var convertToSmallCaps = ['am', 'pm', 'ad', 'bc']; $('abbr').each(function() { var abbr = $(this); var text = abbr.text().toLowerCase(); if(text.length >= 3 || $.inArray(text, convertToSmallCaps) > -1) { abbr.addClass('small-caps'); } });
https://github.com/briankoser/kotangent-jekyll/issues/30
<abbr>
.<abbr>
s with 3+ letters, as well as: ad, bc, am, and pm.