This is an old revision of the document!
Table of Contents
rst Plugin
Compatible with DokuWiki
No compatibility info given!
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to markdown, markdownextra
Installation
External requirements: The rst plugin requires the following additional components that must be installed separately:
- Docutils - see http://docutils.sourceforge.net/
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
The plugin accepts all the RestructuredText syntax described at http://docutils.sourceforge.net/. There are two ways to use it, either with <rst> directives in an existing Dokuwiki page or by creating pages with a .rst suffix.
Using directives
Just wrap the RestructuredText in the directives:-
<rst> This is restructured text </rst>
Filename with .rst suffix
Create a new page, if you create a link to a new page called newpage.rst within Dokuwiki the page will actually have the filename newpage.rst.txt, this will be recognised by the plugin and will be parsed as RestructuredText. You can of course create pages by other means, just ensure they are of the form pagename.rst.txt.