--HG--
branch : pmacs2
This commit is contained in:
moculus 2008-11-12 16:18:05 +00:00
parent 87937a457d
commit 8dbdf94bf0
1 changed files with 5 additions and 6 deletions

View File

@ -40,8 +40,7 @@ class RSTGrammar(Grammar):
PatternRule(r'lineblock', r'^\|'),
RegionRule(r'blocktest', r'>>>', PythonGrammar, '^\n'),
OverrideRegionRule(r'code', r'^\.\. code-block:: +(?P<grammar>.+)\n$', None, r'^[^\n ]'),
RegionRule(r'literal_block', r'::\n$', Grammar, r'^[^\n ]'),
RegionRule(r'literal_block', r'::\n$', Grammar, r'^(?=[^\n ])'),
]
class RstWrapParagraph(method.WrapParagraph):