method
link_to
v2_4_6 -
Show latest stable
- Class:
RDoc::Markdown
link_to(content, label = content, text = nil)public
Finds a link reference for `label` and creates a new link to it with `content` as the link text. If `label` was not encountered in the reference-gathering parser pass the label and content are reconstructed with the linking `text` (usually whitespace).