Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ReStructuredText
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Reference implementation == The reference implementation of the reST [[parser]] is a component of the Docutils text processing framework in the [[Python (programming language)|Python programming language]], but other parsers are available. The Docutils project has not registered any [[Media type|MIME type]] for reStructuredText nor designated any unregistered MIME type as official, but documents the MIME type <code>text/x-rst</code> as in ''de facto'' use by, for example, the build system for the Python website.<ref name="docutilsmime">{{cite web | title = What's the official MIME type for reStructuredText data? in Docutils FAQ. | publisher = Docutils Project | url = http://docutils.sourceforge.net/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data | access-date = 2017-12-20 }}</ref> The same MIME type is used in the [[freedesktop.org]] file type database used by [[desktop environment]]s on [[Linux desktop|Linux]].<ref>{{cite web |url=https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/815b520eb01992a05d41a5434f1227a8be101e15/data/freedesktop.org.xml.in#L6708 |title=freedesktop.org.xml.in |work=shared-mime-info |publisher=[[freedesktop.org]]}}</ref> Another MIME type, {{code|text/prs.fallenstein.rst}}, was registered as a [[Media type#Personal or vanity tree|vanity MIME type]] by a third party in 2003 to represent reStructuredText, and remains the only [[IANA]]-registered MIME type for reStructuredText,<ref>{{cite web |url=https://www.iana.org/assignments/media-types/text/prs.fallenstein.rst |title=text/prs.fallenstein.rst |institution=[[IANA]] |date=2003-10-02 |first=Benja |last=Fallenstein |quotation=ReStructuredText was designed and implemented by David Goodger, not by the registrant of this media type. The registrant just happened to have need of a registered media type for it. [β¦] Change control for this registration is currently with Benja Fallenstein. (If anybody more intimately involved with ReStructuredText wants to take it over, it will be surrendered gladly.)}}</ref> although it is not acknowledged as such by the Docutils project.<ref name="docutilsmime"/>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)