Support links with custom text
Currently, we only support links in the form:
[fragment@Namespace.Type.symbol]
and:
[`fragment@Namespace.Type.symbol`]
but it would be a good thing to support links with custom text, such as:
[some custom text][fragment@Namespace.Type.symbol]
which would be rendered as:
<a href="..." title="Namespace.Type.symbol">some custom text</a>
The regexp should look something like:
(?P<text>\[ [\w\s,\-_:]+ \])?
\[
(`)?
(?P<fragment>[\w]+)
@
(?P<endpoint>[\w\-_:\.]+)
(`)?
\]