Is there a way to embed “straight” HTML into RDoc sources (i.e. text
that RDoc won’t try to interpret)? I’m specifically interested in
embedding a SourceForge URL like this:
Thanks in advance,
Lyle
Is there a way to embed “straight” HTML into RDoc sources (i.e. text
that RDoc won’t try to interpret)? I’m specifically interested in
embedding a SourceForge URL like this:
Thanks in advance,
Lyle
No, there isn’t. However, the ability to have labeled links has been
added to the CVS head revision, like so:
Sourceforge[http://sourceforge.net]
This will result in:
<a href="http://sourceforge.net">Sourceforge</a>
I just tried it with:
http://image.jpg[http://target]
But, as I rather expected, it didn’t work. (Could it be extended to
do so? Sure.) However, one of the things that Dave reminded me is
that rdoc is supposed to be both a commenting format and a
documentation producing format. There are other features that I’d
like to see, but they require explicit markup which could distract
the code-reader, as opposed to the doc-reader. (In particular, I
want to be able to disable crossref matching on a case-by-case
basis.)
-austin
– Austin Ziegler, austin@halostatue.ca on 2002.10.22 at 11.46.29
Lyle Johnson lyle@users.sourceforge.net writes:
Is there a way to embed “straight” HTML into RDoc sources (i.e. text
that RDoc won’t try to interpret)? I’m specifically interested in
embedding a SourceForge URL like this:
Lyle:
You can embed the image using the <img …> tag, and you can (in the
latest CVS) have references such as
available on Sourceforge[http://www.sourceforge.net].
which get changed into
available on Sourceforge.
Unfortunately you can’t combine the two. If you can come up with a
good syntax for it, though, I’d be happy to work on adding it.
Cheers
Dave