Reusable content (terms) in topics: how to make it look without hyperlinks?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DAN SEA
Posts: 59
Joined: Tue Sep 13, 2022 4:13 pm

Reusable content (terms) in topics: how to make it look without hyperlinks?

Post by DAN SEA »

Is there a way that removes links when inserting terms into text, in the form of an abbreviation?

Let me explain what I want to say: I insert frequently used terms and at the end of the document I created a "dictionary" in which all these terms are contained. Everything is good and working.

But my colleagues expressed a wish to me (since the terms in the content, in the form of hyperlinks, are disorienting, because looks like links to some important sections, not like links just to eplanations of terms :-) ) - that the terms should be just like terms, without hyperlinks. And everything else remains the same (in the form of an abbreviation (the first inclusion is in full form, the rest are in abbreviated form, as well as a dictionary at the end of the document).

Is there such a way?
Thank you!
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: Reusable content (terms) in topics: how to make it look without hyperlinks?

Post by julien_lacour »

Hello,

There is a way to change the display of abbreviated-forms, you can use the following rules in a CSS custom stylesheet:

Code: Select all

a:has(*[class ~= "abbrev-d/abbreviated-form"]) {
  -oxy-link: none; /* Remove the link on term */
}
*[class ~= "abbrev-d/abbreviated-form"] {
  color: initial; /* Removes term color */
  font-style: unset; /* Removes italic display */
}
Don't hesitate to change the values based on what you want in the final output.

Regards,
Julien
DAN SEA
Posts: 59
Joined: Tue Sep 13, 2022 4:13 pm

Re: Reusable content (terms) in topics: how to make it look without hyperlinks?

Post by DAN SEA »

Thanks a lot, Julien, for fast reply! It's very useful!
Post Reply