Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ReStructuredText
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
======= Sub-heading ----------- Paragraphs are separated by a blank line. </syntaxhighlight> | <syntaxhighlight lang="html"> <h1>Document Heading</h1> <h2>Heading</h2> <h3>Sub-heading</h3> <p>Paragraphs are separated by a blank line.</p> </syntaxhighlight> |<div style="color: #000000; overflow: hidden; page-break-after: avoid; font-size: 2em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;>Document Heading</div> <div style="color: #000000; overflow: hidden; page-break-after: avoid; font-size: 1.8em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;>Heading</div> <div style="color: #000000; overflow: hidden; page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;>Sub-heading</div> Paragraphs are separated by a blank line. |- |<syntaxhighlight lang="rst">Text attributes *emphasis*, **strong emphasis**, ``monospace``. Horizontal rule: ---- </syntaxhighlight> | <syntaxhighlight lang="html"><p>Text attributes <em>emphasis</em>, <strong>strong emphasis</strong>, <code>monospace</code>.</p> <p>Horizontal rule:</p> <hr /> </syntaxhighlight> |Text attributes ''emphasis'', '''strong emphasis''', <code>monospace</code>.</p> Horizontal rule: <hr /> |- |<syntaxhighlight lang="rst"> Bullet list: * apples * oranges * pears Numbered list: 1. lather 2. rinse 3. repeat Nested lists: 1. fruits * apple * banana 2. vegetables * carrot * broccoli </syntaxhighlight> | <syntaxhighlight lang="html"><p>Bullet list:</p> <ul> <li>apples</li> <li>oranges</li> <li>pears</li> </ul> <p>Numbered list:</p> <ol> <li>lather</li> <li>rinse</li> <li>repeat</li> </ol> <p>Nested lists:</p> <ol> <li>fruits <ul> <li>apple</li> <li>banana</li> </ul> </li> <li>vegetables <ul> <li>carrot</li> <li>broccoli</li> </ul> </li> </ol> </syntaxhighlight> |Bullet list: * apples * oranges * pears Numbered list: # lather # rinse # repeat Nested lists: # fruits #* apple #* banana # vegetables #* carrot #* broccoli |- |<syntaxhighlight lang="rst">An `example <http://example.com>`_. .. image:: Icon-pictures.png :alt: Image If text is indented, it is treated as a block quotation: Should array indices start at 0 or 1? My suggested compromise of 0.5 was rejected without, I thought, proper consideration. -- Stan Kelly-Bootle reST uses :: at the end of the paragraph prior to a pre-formatted code block:: Y = lambda f: (lambda x: f(x(x)))(lambda x: f(x(x))) | Multi-line text can | span in tables | with a pipe character. </syntaxhighlight> | <syntaxhighlight lang="html"><p>An <a href="http://example.com">example</a>.</p> <p><img alt="Image"src="Icon-pictures.png" /></p> <p>If text is indented, it is treated as a block quotation, and the final attribution line is handled automatically:</p> <blockquote> Should array indices start at 0 or 1? My suggested compromise of 0.5 was rejected without, I thought, proper consideration. -- Stan Kelly-Bootle</blockquote> <p>reST uses :: at the end of the paragraph prior to a pre-formatted code block:</p> <pre class="literal-block"> Y = lambda f: (lambda x: f(x(x)))(lambda x: f(x(x))) </pre> <p>Multi-line text can<br/>span in tables<br/>with a pipe character.</p> </syntaxhighlight> |An [http://example.com/ example]. [[File:Icon-pictures.png|alt=Image|link=|icon]] <p>If text is indented, it is treated as a block quotation, and the final attribution line is handled automatically:</p> <blockquote> Should array indices start at 0 or 1? My suggested compromise of 0.5 was rejected without, I thought, proper consideration. -- Stan Kelly-Bootle</blockquote> <p>reST uses :: at the end of the paragraph prior to a pre-formatted code block:</p> <pre class="literal-block"> Y = lambda f: (lambda x: f(x(x)))(lambda x: f(x(x))) </pre> <p>Multi-line text can<br/>span in tables<br/>with a pipe character.</p> |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)