Skip to content

Code highlight markup causes link text to not be colored #546

Open
@per1234

Description

@per1234

If a reference page uses code highlight markup on link text:

Note that `#include`, similar to link:../define[`#define`], has no semicolon terminator, and the compiler will yield cryptic error messages if you add one.

it is rendered on the Language Reference like this:
clipboard01
The reference pages contain many links that use a code term as the link text and it's nice to use the code markup on these terms to clearly differentiate them from regular text but it's not worth doing so if it results in a link that is not visually noticeable.

I wonder whether it would be possible to change this (perhaps via a stylesheet?) so that the text is still colored as a link, similar to how GitHub renders the following Markdown:

[`define`](https://www.arduino.cc/reference/en/language/structure/further-syntax/define)

as:
define

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions