Is there a way to display superscripts as shortened, similar to how aliases shorten internal links?

In live preview mode, I’d like to render superscripts (wrapped in: ) to display internal links as whatever text follows |, the same way that internal links render aliases as only the text following |. I don’t care that they won’t link to anything; I just want them to be shorter.

I think the snippet would look something like this:

sup a.internal-link {
content:
display:*

But I’m not sure what to insert for content and display. I’m also not sure if a.internal-link works here, because they never render in live preview mode, but I’m not sure how else to refer to text within [].

Any help would be appreciated.