diff --git a/mercurial/minirst.py b/mercurial/minirst.py --- a/mercurial/minirst.py +++ b/mercurial/minirst.py @@ -16,19 +16,23 @@ on the user to keep the right indentatio It only supports a small subset of reStructuredText: +- sections + - paragraphs -- definition lists (must use ' ' to indent definitions) +- literal blocks + +- definition lists -- lists (items must start with '-') +- bullet lists (items must start with '-') + +- enumerated lists (no autonumbering) - field lists (colons cannot be escaped) -- literal blocks - - option lists (supports only long options without arguments) -- inline markup is not recognized at all. +- inline literals (no other inline markup is not recognized) """ import re, sys, textwrap