Commit 02597c16 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Bastien Nocera
Browse files

Add MIME type for reStructuredText (text/x-rst)
parent 111d3397
......@@ -5636,6 +5636,11 @@ command to generate the output files.
<glob pattern="*.owl"/>
<root-XML namespaceURI="" localName="RDF"/>
<mime-type type="text/x-rst">
<_comment>reStructuredText document</_comment>
<sub-class-of type="text/plain"/>
<glob pattern="*.rst"/>
<mime-type type="application/owl+xml">
<_comment>OWL XML file</_comment>
......@@ -586,6 +586,8 @@ test10.gpx application/gpx+xml ox
test.gnd application/gnunet-directory
# Copied from text/markdown oxo
# Manually assembled from formatting examples at
reStructuredText.rst text/x-rst ox application/postscript application/x-gzpostscript ox
text.PS.gz application/x-gzpostscript oxo
Examples from Wikipedia page
- A bullet list item
- Second item
- A sub item
- Spacing between items creates separate lists
- Third item
1) An enumerated list item
2) Second item
a) 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
i) List items can even include
paragraph breaks.
3) Third item
#) Another enumerated list item
#) Second item
.. image:: /path/to/image.jpg
Named links
A sentence with links to Wikipedia_ and the `Linux kernel archive`_.
.. _Wikipedia:
.. _Linux kernel archive:
Anonymous links
Another sentence with an `anonymous link to the Python website`__.
Literal blocks
some literal text
This may also be used inline at the end of a paragraph, like so::
some more literal text
.. code:: python
print("A literal block directive explicitly marked as python code")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment