Straight HTML in RDoc? 
Author Message
 Straight HTML in RDoc?

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:

<A href=" http://www.*-*-*.com/ "> <IMG
src=" http://www.*-*-*.com/ ;type=5"
width="210" height="62" border="0" alt="SourceForge Logo"></A>

Thanks in advance,

Lyle



Sat, 09 Apr 2005 23:05:32 GMT  
 Straight HTML in RDoc?

Quote:

> 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:

> <A href="http://sourceforge.net"> <IMG
> src="http://sourceforge.net/sflogo.php?group_id=61653&type=5"
> width="210" height="62" border="0" alt="SourceForge Logo"> </A>

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



Sat, 09 Apr 2005 23:53:36 GMT  
 Straight HTML in RDoc?

Quote:

> 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:

> <A href="http://sourceforge.net"> <IMG
> src="http://sourceforge.net/sflogo.php?group_id=61653&type=5"
> width="210" height="62" border="0" alt="SourceForge Logo"></A>

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 <a href="..">Sourceforge</a>.

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



Sat, 09 Apr 2005 23:56:13 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. MOre RDoc HTML needed

2. UML Designer: Want to hyperlinks straight to the web

3. Smalltalker must do some straight C!

4. straight from the FAQ

5. Setting the Record Straight

6. Send Print Job straight to LPT port

7. Trouble upgrading to 2.0 straight from 1.0

8. "Show-Tell-Straight-Narrow-"

9. waveform graph diplaying straight,vertical line at time=0

10. ANSI Forth -- The straight dope

11. Straight and Fuzzy Logic

12. Straight and Fuzzy

 

 
Powered by phpBB® Forum Software