diff tests/test-minirst.py @ 12388:75f044d4dbf5

minirst: Support for admonitions The old asciidoc format supported something like this, this is why there is NOTE: scattered here and there.
author Erik Zielke <ez@aragost.com>
date Wed, 22 Sep 2010 15:51:59 +0200
parents 68b7d2d668ce
children 5082e2f3f8e0
line wrap: on
line diff
--- a/tests/test-minirst.py	Thu Sep 23 00:02:31 2010 -0500
+++ b/tests/test-minirst.py	Wed Sep 22 15:51:59 2010 +0200
@@ -197,3 +197,20 @@
 ------------------------------
 """
 debugformat('sections', sections, 20)
+
+
+admonitions = """
+.. note::
+   This is a note
+
+   - Bullet 1
+   - Bullet 2
+
+   .. warning:: This is a warning Second
+      input line of warning
+
+.. danger::
+   This is danger
+"""
+
+debugformat('admonitions', admonitions, 30)