Skip to main content

A reference for how reStructuredText blocks are rendered by Github and PyPI.

Project description

Paragraph 1, no literal syntax

>>> indented_doctest_block()
None

Paragraph 2, no literal syntax

>>> unindented_doctest_block()
None

Paragraph 3, no literal syntax

def foo():
return None

Paragraph 4, expanded literal syntax

def foo():
    return None

Paragraph 5, partially minimized literal syntax

def foo():
    return None

Paragraph 6, fully minimized literal syntax:

def foo():
    return None

Paragraph 7, code block, no language

def foo():
    return None

Paragraph 8, code block, language=python

def foo():
    return None

Paragraph 9, Sphinx doctest block

Project details


Release history Release notifications

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pypi-rst-ref-0.0.5.tar.gz (1.3 kB) Copy SHA256 hash SHA256 Source None Dec 5, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page