`*' spanning multiple words in rdoc


(Massimiliano Mirra) #1

Is there a way for `*’ in rdoc to surround multiple words instead of
just one? I.e. “bold text” -> “bold text” instead of “bold
text” -> “bold text”.

Massimiliano


(Dave Thomas) #2

Massimiliano Mirra list@NOSPAMchromatic-harp.com writes:

Is there a way for `*’ in rdoc to surround multiple words instead of
just one? I.e. “bold text” -> “bold text” instead of “bold
text” -> “bold text”.

That seemed to be problematic, as it seemed likely that you could
always have more than one asterisk in a paragraph, and you wouldn’t
want all the text between them to be bold, as in:

You can specify a parameter to receive the optional arguments
using the rest notation, so that you could then call the
method with 'fred(1, 2, 3
4)’.

However, you can always used anything you want to get a span on
bold text.

Dave