RFC curl
Jonathan M Davis
jmdavisProg at gmx.com
Fri Nov 11 16:35:10 PST 2011
On Friday, November 11, 2011 20:45:28 Jonas Drewsen wrote:
> Den 10-11-2011 01:24, Walter Bright skrev:
> > I tend to like references to things in other modules to be hyperlinks.
> > For example, writeln should be $(LINK2
> > http://www.d-programming-language.org/phobos/std_stdio.html#writeln,
> > writeln)
>
> The only places I use writeln is in the examples. Do you want hyperlinks
> in there? I haven't seen that in any other module.
>
> If this is something we want to do then a new markup token should be
> added to std.ddoc I think. This should ensure that the examples does not
> look messy because of normal hyperlink highlighting.
I don't think that it's possible to have links in examples with ddoc. It just
prints exactly what you put in there as-is. References to functions outside of
the examples should use XREF (for functions in other modules in Phobos) and
LREF (for functions in the same module).
- Jonathan M Davis
More information about the Digitalmars-d
mailing list