I'm currently working with select2 version 4.0.1, and I have a requirement to modify the font for specific words. In particular, I want to display codes AK and HI in a different/bolder font style, similar to the example below:
<select id="select2" style="width:300px">
<optgroup label="Alaskan/Hawaiian Time Zone">
<option value="AK"><strong>AK</strong> Alaska</option>
<option value="HI"><strong>HI</strong> Hawaii</option>
</optgroup>
Is there a way to achieve this? How can I implement it?