Showing parent category label and sub-category label

There is CSS that you could try though not exactly what you’re hoping for. eg.

<a class="badge-wrapper box"
 href="/community/c/python-perl-and-golang/python">
 <span class="badge-category-parent-bg"
  style="background-color: #A45BC7;"></span>
 <span class="badge-category-bg"
  style="background-color: #1a69ca;"></span>
 <span style="color: #FFFFFF;"
  data-drop-close="true"
  class="badge-category clear-badge" title="Discussion about the popular interpreted language for web, scientific and mathematical programming, based on the &quot;One Obvious Way To Do It&quot; philosophy.">Python</span>
</a>

If you change the “5px” values for badge-category-bg from

left: 5px; 
width: calc(100% - 5px);

to 10 px you get a side stripe twice as wide