I am trying to achieve something like this:

where the @qualifier Thread-safe has a different background-color than inline.
Unfortunately this is not possible because all qualifiers are rendered as <span class="mlabel">...</span>
I would like to purpose to change this command into something like that:
\qualifier <name> | "(text)" [<label>] --> <span class="mlabel label">name | "(text)"</span>
where <name> | "(text)" is displayed to the user, and <lablel> is used as the value for the class attribute.
I am trying to achieve something like this:
where the
@qualifier Thread-safehas a differentbackground-colorthaninline.Unfortunately this is not possible because all qualifiers are rendered as
<span class="mlabel">...</span>I would like to purpose to change this command into something like that:
\qualifier <name> | "(text)" [<label>]--><span class="mlabel label">name | "(text)"</span>where
<name> | "(text)"is displayed to the user, and<lablel>is used as the value for theclassattribute.