JasonPlutext
JasonPlutext

Reputation: 15878

Sphinx hyperlink: non-whitespace before opening backtick

My hyperlinks aren't detected if there is a '/' char or a letter (eg 'V') immediately before the opening backtick.

Is there a workaround for this which doesn't introduce whitespace?

Upvotes: 0

Views: 240

Answers (1)

Steve Piercy
Steve Piercy

Reputation: 15105

Escape a space character between the non-whitespace character and the opening backtick, like so:

v\ `Python <https://www.python.org>`_

Will render as:

<p>v<a class="reference external" href="https://www.python.org">Python</a></p>

Upvotes: 2

Related Questions