riptano / docs-ui

The UI and theme for DataStax Docs.
https://riptano.github.io/docs-ui/
Mozilla Public License 2.0
2 stars 0 forks source link

Linked code font is sometimes indistinguishable from non-link code font except on hover #148

Open aimurphy opened 2 months ago

aimurphy commented 2 months ago

image

In the above screenshot, the items in the second column are links. However, it is impossible to tell that they are links unless you hover on them.

It seem the appearance is determined by how the writer crafts the links. For example, these links are in code font and have the link color, as expected: image

If the backticks are inside the square brackets, the link is indistinguishable from regular text.

{java-client-api-ref-url}/com/datastax/astra/client/model/Filter.html[`Filter`]

If the backticks are outside the xref, the link gets the expected purple color to make it distinct.

`{ts-client-api-ref-url}/types/Filter.html[Filter<Schema>]`

Is it possible to apply the purple link color regardless of the placement of the backticks?