Back to Article Listing

view formatting 'RAW' | 'HTML'

Test page

Important

This article was written in reStructuredText.

I left it here to demonstrate to a few friends how easy pylons, reST, and highlighting with pygments are to work with!

This is an article stub

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


That ^ was a <hr>

/images/ui_ul_vista.png

This is a "figure caption".

/images/ui_ul_vista.png

This is a line below the "image". How is this different?

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Field List

what:Field lists map field names to field bodies, like database records. They are often part of an extension syntax.
how:The field marker is a colon, the field name, and a colon.

Options List

-a command-line option "a"
-b file options can have arguments and long descriptions
--long options can be long also
--input=file long options can also have arguments

Doctest block

Command line Python, cut and paste

>>> print 'Python-specific usage examples; begun with ">>>"'
Python-specific usage examples; begun with ">>>"
>>> print '(cut and pasted from interactive Python sessions)'
(cut and pasted from interactive Python sessions)

Comments

(they do not appear when rendered as html.. duh..)

Line Blocks

A one, two, a one two three four

Half a bee, philosophically,
must, ipso facto, half not be.
But half the bee has got to be,
vis a vis its entity. D'you see?

But can a bee be said to be
or not to be an entire bee,
when half the bee is not a bee,
due to some ancient injury?

Singing...

Code highlighting and other directives

Pygments

Pygments is great for a wide variety of languages, certainly not limited to these examples:

admonitions

Warning

Whatever is written here is a warning to the reader

Important

Whatever is written here is a warning to the reader

Tip

Whatever is written here is a warning to the reader

Error

Whatever is written here is a warning to the reader

code=python

from pygments import highlight
from pygments.lexers import get_lexer_by_name
from pygments.formatters import HtmlFormatter

code=shell

cd $_drop

for i in $_sets; do
        ftp -V -m $_src/${i}${_rel}.tgz
done

code=html

<table>
    <tr>
        <td>
            The HTML example does show up in raw text
        </td>
    </tr>
</table>


Copyright © 20070701 genoverly
(db datestamp: 20071008)

nautical_flag_icon
Copyright © 2003-2015 genoverly