These are the examples from the Wikipedia article about reStructuredText, https://en.wikipedia.org/wiki/ReStructuredText .
Last active
March 16, 2016 16:45
-
-
Save lsloan/18661afd711e148ed30c to your computer and use it in GitHub Desktop.
- A bullet list item
- Second item
- A sub item
- Spacing between items creates separate lists
- Third item
An enumerated list item
Second item
Sub item that goes on at length and thus needs to be wrapped. Note the indentation that must match the beginning of the text, not the enumerator.
List items can even include
paragraph breaks.
Third item
Another enumerated list item
Second item
A sentence with links to Wikipedia and the Linux kernel archive.
Another sentence with an anonymous link to the Python website.
some literal text
This may also be used inline at the end of a paragraph, like so:
some more literal text
print("A literal block directive explicitly marked as python code")
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment