Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.31 KB

restructured_text.rst

File metadata and controls

35 lines (25 loc) · 1.31 KB

reStructuredText (reST) is the default plaintext markup language used by both Docutils and Sphinx. While Docutils provides the basic reStructuredText syntax, Sphinx extends this to support additional functionality.

This guide will take you through reST concepts and syntax with examples.

*Note*: This document is written in rst. Refer to the source to know the syntax.

But before we dive in, let's look at the differnces between reST and Markdown.

Markdown reST
Markdown's syntax is intended to be used as a format for writing for the web. reST is specifically designed for writing technical documentation.
HTML is the way to extend it. It provides standard extension mechanisms called directives and roles.
With Markdown you can force a newline by ending a line with a backslash. reST has option lists for listing options and args you might pass to a command-line program.
Easy syntax. Complicted syntax.

Syntax:

Headers