[racket-dev] Tech links with custom text
That was fast! Thanks!
Vincent
At Tue, 3 Aug 2010 12:49:03 -0600,
Matthew Flatt wrote:
>
> At Tue, 03 Aug 2010 14:34:40 -0400, Vincent St-Amour wrote:
> > While writing documentation, I came across cases where I would have
> > wanted to link to technical terms (using the "tech" function) without
> > having the technical term itself be the text of the link.
> >
> > For example, I wanted to link to the definition of "inexact number",
> > but I wanted the text of the link to be "inexact" instead of "inexact
> > number".
> >
> > Is there a way to do that?
>
> The `tech' and `techlink' functions now accept an optional `#:key'
> argument to specify the key separate from the rendered content.
>