https://github.com/moreati/pypi-rst-ref
A reference for how reStructuredText blocks are treated by Github and PyPI
https://github.com/moreati/pypi-rst-ref
Last synced: 2 months ago
JSON representation
A reference for how reStructuredText blocks are treated by Github and PyPI
- Host: GitHub
- URL: https://github.com/moreati/pypi-rst-ref
- Owner: moreati
- License: apache-2.0
- Created: 2015-11-22T12:28:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-05T13:28:51.000Z (almost 10 years ago)
- Last Synced: 2025-07-27T02:30:51.511Z (2 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/pypi-rst-ref
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
Paragraph 1, no literal syntax
>>> indented_doctest_block()
NoneParagraph 2, no literal syntax
>>> unindented_doctest_block()
NoneParagraph 3, no literal syntax
def foo():
return NoneParagraph 4, expanded literal syntax
::
def foo():
return NoneParagraph 5, partially minimized literal syntax ::
def foo():
return NoneParagraph 6, fully minimized literal syntax::
def foo():
return NoneParagraph 7, code block, no language
.. code::
def foo():
return NoneParagraph 8, code block, language=python
.. code:: python
def foo():
return NoneParagraph 9, Sphinx doctest block