cheatsheets/_output/rst.html

71 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title></title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<h1>ReStructuredText</h1>
<h3>Comments</h3>
<pre><code>.. @theme 2010
.. include:: ../themes/2010/common.rst
.. contents::
.. |substitute| replace:: replacement name
</code></pre>
<h3>Headings</h3>
<pre><code>Heading
=======
.. class:: brief
Hello there. |substitute| **This is bold**
- Bullet list with a link_ (or `link with words`_)
- Yes
.. _link: http://link.org
</code></pre>
<h3>PDF page break</h3>
<pre><code>.. raw:: pdf
PageBreak oneColumn
</code></pre>
<h3>Link targets</h3>
<pre><code>Internal link target_.
.. _target:
This is where _target will end up in.
</code></pre>
<h3>Tables (?)</h3>
<pre><code>.. class:: hash-table
.. list-table::
* - :key:`Weekly work hours:`
- :val:`50 hours`
* - :key:`Cost per hour:`
- :val:`PhP 1,500/hour`
* - :key:`Weekly rate:`
- :val:`PhP 75,000/week`
</code></pre>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/1.6.4/jquery.min.js'></script>
<script src="http://cachedcommons.org/cache/prettify/1.0.0/javascripts/prettify-min.js"></script>
<script>$("pre").addClass("prettyprint");</script>
<script>prettyPrint();</script>
</body>
</html>