<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Ruby_Document_format</id>
	<title>Ruby Document format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Ruby_Document_format"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Ruby_Document_format&amp;action=history"/>
	<updated>2026-10-25T12:49:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Ruby_Document_format&amp;diff=1512588&amp;oldid=prev</id>
		<title>imported&gt;Boleyn: /* External links */</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Ruby_Document_format&amp;diff=1512588&amp;oldid=prev"/>
		<updated>2024-04-28T21:53:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;External links&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Markup language}}&lt;br /&gt;
{{no footnotes|date=October 2009}}&lt;br /&gt;
{{unref |date=April 2024}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;RD&amp;#039;&amp;#039;&amp;#039; (Ruby Document) is a [[lightweight markup language]]&lt;br /&gt;
for writing [[Ruby (programming language)|Ruby]]-related documents.&lt;br /&gt;
It can be embedded in Ruby source code.&lt;br /&gt;
&lt;br /&gt;
RD is a traditional format.&lt;br /&gt;
In modern Ruby, developers tend to write documents in [[RDoc]] instead of RD.&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
&lt;br /&gt;
Originally, most documentation in the Ruby world, including for Ruby itself, had been written in RD. Then in 2002, much of it was converted to RDoc format. Although, the Japanese version of the &amp;#039;&amp;#039;Ruby Reference Manual&amp;#039;&amp;#039; still remains in RD format.&lt;br /&gt;
&lt;br /&gt;
RD is designed to be written by hand and easily read in its raw form. Most end-users however experience it after it has been converted into HTML or [[man page]]s.&lt;br /&gt;
&lt;br /&gt;
RD can be embedded in Ruby code, and pure RD files usually have the extension &amp;lt;code&amp;gt;.rd&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Sample RD document ==&lt;br /&gt;
&lt;br /&gt;
This document is syntactically correct RD,&lt;br /&gt;
which attempts to follow the major conventions on section naming as well.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Source !! width=&amp;quot;50%&amp;quot; | HTML result&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color: white;&amp;quot; |&lt;br /&gt;
&amp;lt;div class=&amp;quot;plainlinks&amp;quot;&amp;gt;&lt;br /&gt;
{{pre|&lt;br /&gt;
{{=}}begin&lt;br /&gt;
{{=}} NAME&lt;br /&gt;
RD sample - A sample RD document&lt;br /&gt;
&lt;br /&gt;
{{=}} SYNOPSIS&lt;br /&gt;
 {{codett|2=ruby|here.is_a?(Piece::Of::Code)}}&lt;br /&gt;
 {{codett|2=ruby|print &amp;lt;&amp;lt;&amp;quot;END&amp;quot;}}&lt;br /&gt;
 This indented block will not be scanned for formatting&lt;br /&gt;
 codes or directives, and spacing will be preserved.&lt;br /&gt;
 END&lt;br /&gt;
&lt;br /&gt;
{{=}} DESCRIPTION&lt;br /&gt;
Here&amp;#039;s some normal text.  It includes text that is&lt;br /&gt;
((*emphasized*)), ((%keyboard%)), (({code}))-formatted,&lt;br /&gt;
(({{!}}variable part{{!}})), ((:indexed:)), and ((&amp;#039;as-is&amp;#039;))((-footnote-)).&lt;br /&gt;
&lt;br /&gt;
{{=}}{{=}} An Example List&lt;br /&gt;
* This is a bulleted list.&lt;br /&gt;
* Here&amp;#039;s another item.&lt;br /&gt;
  * Nested list item.&lt;br /&gt;
&lt;br /&gt;
{{=}}{{=}} An ordered List&lt;br /&gt;
(1) This is the first item&lt;br /&gt;
(2) second&lt;br /&gt;
    * Nested unordered list.&lt;br /&gt;
(3) third&lt;br /&gt;
    (1) Nested ordered list&lt;br /&gt;
    (2) its second item&lt;br /&gt;
&lt;br /&gt;
{{=}}end&lt;br /&gt;
{{=}}begin html&lt;br /&gt;
{{codett|2=html|1=&amp;lt;img src=&amp;quot;Example.png&amp;quot; align=&amp;quot;right&amp;quot; alt=&amp;quot;Figure 1.&amp;quot; /&amp;gt;}}&lt;br /&gt;
{{codett|2=html|&amp;lt;p&amp;gt;}}&lt;br /&gt;
    Here&amp;#039;s some embedded HTML.  In this block I can &lt;br /&gt;
    {{codett|2=html|1=include images, apply &amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;}}&lt;br /&gt;
    {{codett|2=html|styles&amp;lt;/span&amp;gt;, or do anything else I can do with}}&lt;br /&gt;
    HTML.  RD processors that aren&amp;#039;t outputting HTML will&lt;br /&gt;
    completely ignore it.&lt;br /&gt;
{{codett|2=html|&amp;lt;/p&amp;gt;}}&lt;br /&gt;
{{=}}end&lt;br /&gt;
{{=}}begin&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{=}} SEE ALSO&lt;br /&gt;
((&amp;lt;RD::RDTree&amp;gt;)), ((&amp;lt;RD::Visitor#visit{{!}}RD/Visitor/visit&amp;gt;)),&lt;br /&gt;
((&amp;lt;Ruby{{!}}URL:http://en.wikipedia.org/wiki/Ruby_%28programming_language%29&amp;gt;))&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{{=}} COPYRIGHT&lt;br /&gt;
Copyright 2005 [[J. Random Hacker]] &amp;lt;jrh@cpan.org&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Permission is granted to copy, distribute and/or modify this &lt;br /&gt;
document under the terms of the [[GNU Free Documentation License]], &lt;br /&gt;
Version 1.2 or any later version published by the &lt;br /&gt;
[[Free Software Foundation]]; with no Invariant Sections, with &lt;br /&gt;
no Front-Cover Texts, and with no Back-Cover Texts.&lt;br /&gt;
{{=}}end&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;background-color: white;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
==NAME==&lt;br /&gt;
&amp;lt;!-- RDLabel: &amp;quot;NAME&amp;quot; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
RD sample - A sample RD document&lt;br /&gt;
&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
&amp;lt;!-- RDLabel: &amp;quot;SYNOPSIS&amp;quot; --&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;here.is_a?(Piece::Of::Code)&lt;br /&gt;
print &amp;amp;lt;&amp;amp;lt;&amp;quot;END&amp;quot;&lt;br /&gt;
This indented block will not be scanned for formatting&lt;br /&gt;
codes or directives, and spacing will be preserved.&lt;br /&gt;
END&amp;lt;/pre&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
&amp;lt;!-- RDLabel: &amp;quot;DESCRIPTION&amp;quot; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s some normal text.  It includes text that is&lt;br /&gt;
&amp;#039;&amp;#039;emphasized&amp;#039;&amp;#039;, {{mono|keyboard}}, &amp;lt;code&amp;gt;code&amp;lt;/code&amp;gt;-formatted, &amp;lt;var&amp;gt;variable part&amp;lt;/var&amp;gt;, indexed, and as-is[[#foottext-1|&amp;lt;sup&amp;gt;*1&amp;lt;/sup&amp;gt;]].&lt;br /&gt;
&lt;br /&gt;
==An Example List==&lt;br /&gt;
&amp;lt;!-- RDLabel: &amp;quot;An Example List&amp;quot; --&amp;gt;&lt;br /&gt;
* This is a bulleted list.&lt;br /&gt;
* Here&amp;#039;s another item.&lt;br /&gt;
** Nested list item.&lt;br /&gt;
&lt;br /&gt;
==An ordered List==&lt;br /&gt;
# This is the first item&lt;br /&gt;
# second&lt;br /&gt;
:* Nested unordered list.&lt;br /&gt;
{{Ordered list |start{{=}}3|third}}&lt;br /&gt;
:#Nested ordered list&lt;br /&gt;
:#its second item&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s some embedded HTML.  In this block I can &lt;br /&gt;
include images, apply &amp;lt;span style{{=}}&amp;quot;color: green&amp;quot;&amp;gt;&lt;br /&gt;
styles&amp;lt;/span&amp;gt;, or do anything else I can do with&lt;br /&gt;
HTML.  RD processors that aren&amp;#039;t outputting HTML&lt;br /&gt;
will completely ignore it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==COPYRIGHT==&lt;br /&gt;
Copyright 2005 J. Random Hacker &amp;lt;jrh@cpan.org&amp;gt;. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Markdown]]&lt;br /&gt;
* [[Plain Old Documentation]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://raa.ruby-lang.org/project/rdtool?name=RDtool RDtool] - Framework to translate RD document into other formats.&lt;br /&gt;
* [https://github.com/uwabami/rdtool/blob/master/doc/rd-draft.rd rd-draft.rd] - full description of RD markup languard (in RD format)&lt;br /&gt;
* [http://rubyforge.org/docman/view.php/5708/3908/rd-draft.html rd-draft.html] - full description of RD markup language (converted to HTML)&lt;br /&gt;
&lt;br /&gt;
{{Ruby programming language}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lightweight markup languages]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{compu-lang-stub}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Boleyn</name></author>
	</entry>
</feed>