# Rdoc link question

**URL:** <https://www.ruby-forum.com/t/rdoc-link-question/136362>\
**Category:** Ruby\
**Created:** [May 1, 2008, 8:31am UTC](https://www.ruby-forum.com/t/rdoc-link-question/136362 "2008-05-01T08:31:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 1, 2008, 8:31am UTC](https://www.ruby-forum.com/t/rdoc-link-question/136362/1 "2008-05-01T08:31:03Z")

</div>

Does anyone know how to have a named link in Rdoc simple markup with a  
space in it?

Ie:

linklabel[link:linkdestination.html]

Where linklabel can have a space?

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 1, 2008, 8:50am UTC](https://www.ruby-forum.com/t/rdoc-link-question/136362/2 "2008-05-01T08:50:57Z")

</div>

On Apr 30, 2008, at 23:31 PM, Charles L. wrote:

> Does anyone know how to have a named link in Rdoc simple markup with a  
> space in it?
> 
> Ie:
> 
> linklabel[link:linkdestination.html]
> 
> Where linklabel can have a space?

Try {link label}[http://…]

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 1, 2008, 9:04am UTC](https://www.ruby-forum.com/t/rdoc-link-question/136362/3 "2008-05-01T09:04:20Z")

</div>

Eric H. wrote:

> On Apr 30, 2008, at 23:31 PM, Charles L. wrote:
> 
> > Does anyone know how to have a named link in Rdoc simple markup with a  
> > space in it?
> > 
> > Ie:
> > 
> > linklabel[link:linkdestination.html]
> > 
> > Where linklabel can have a space?
> 
> Try {link label}[http://…]

Thanks :). I was just in the middle of grokking the TIDYLINK regexps in  
the rdoc html code…
